Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adistrim/webrusher
Fetches HTML, parses it, and extracts data using a CSS selector. Example focuses on Rust by Example documentation, demonstrating menu title retrieval. Async functionality is powered by the Tokio runtime.
https://github.com/adistrim/webrusher
Last synced: 7 days ago
JSON representation
Fetches HTML, parses it, and extracts data using a CSS selector. Example focuses on Rust by Example documentation, demonstrating menu title retrieval. Async functionality is powered by the Tokio runtime.
- Host: GitHub
- URL: https://github.com/adistrim/webrusher
- Owner: adistrim
- Created: 2024-01-04T19:13:58.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-01-04T19:30:36.000Z (11 months ago)
- Last Synced: 2024-01-04T20:36:31.271Z (11 months ago)
- Language: Rust
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WebRusher
The program fetches HTML content from a specified URL, parses it, and extracts data based on a CSS selector. The example targets the Rust by Example documentation to showcase how to retrieve menu titles from the provided webpage. The code is asynchronous, utilizing the tokio runtime for handling asynchronous tasks.### Dependencies
- reqwest = "0.11.23"
- scraper = "0.18.1"
- tokio = { version = "1", features = ["full"] }