fixed page pids
This commit is contained in:
parent
83f2bece96
commit
815c08cc36
@ -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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user