Scraper example using bible.com as the source.

Steve Thielemann 60dacd1f58 Update with directions on first use. 11 månader sedan
src 247e61fc48 Added readme for gogs. 11 månader sedan
.gitignore f6790cbbbc Making a single request to httpbin.org. 11 månader sedan
Cargo.lock 507c90360f Added user agent updater. 11 månader sedan
Cargo.toml 507c90360f Added user agent updater. 11 månader sedan
README.md 60dacd1f58 Update with directions on first use. 11 månader sedan
fetch1.html 060db0ff68 Initial working parser for verses. 11 månader sedan
initial.config 507c90360f Added user agent updater. 11 månader sedan

README.md

Rust - Reqwest and Scraper example

This is an example web scraper project. It downloads and extracts the Bible from https://www.bible.com.

User-Agent

The program will update the user-agent string it uses via https://www.mozilla.org/en-US/firefox/releases/ because I can.

Using

Copy initial.config to app.config.
Make a bible directory. Run the fetch command. Run the verse command.