fixed page pids

This commit is contained in:
danmax 2024-10-16 23:48:04 -04:00
parent 83f2bece96
commit 815c08cc36

View File

@ -18,11 +18,11 @@ async fn main() -> ExitCode {
.to_string(); .to_string();
let client = Client::builder().user_agent(USER_AGENT).build().unwrap(); let client = Client::builder().user_agent(USER_AGENT).build().unwrap();
let mut page = 1; let mut page = 0;
loop { loop {
println!("now scraping page {page}"); println!("now scraping page {}", page + 1);
let post_html = async || { let post_html = async || {
extract_urls( extract_urls(