Prevent flooding the website (still need to better mimic browser requests)
[?]
Jan 11, 2022, 11:52 PM
C376NCOVRBWVVPEIM5GQ6Z3LI4PCXPIQQTLI3GBQWAABXCKDOWQACDependencies
- [2]
PQ4BG3ZJThe web scrape functions - [3]
HMOBTVJ4Initialize crate and add expected dependencies - [4]
YCWYAX6KFunctions for scraping names integrated enough to test (they don't work yet) - [5]
AV73DYWQInitial functions for using sqlite in async environment
Change contents
- replacement in src/gather.rs at line 24
for initial in 'A'..='Z' {let tx = tx.clone();let client = client.clone();tokio::spawn(async move {tokio::spawn(async move {for initial in 'A'..='Z' { - edit in src/gather.rs at line 35
tokio::time::sleep(std::time::Duration::new(10,0)).await; - replacement in src/gather.rs at line 42
});}}}); - replacement in src/gather.rs at line 73
let mut offset = String::new();let offset; - replacement in Cargo.toml at line 13
tokio = { version = "1.15.0", features = ["macros","sync","rt-multi-thread"] }[3.367]tokio = { version = "1.15.0", features = ["macros","sync","time","rt-multi-thread"] }