Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Commit

Permalink
Merge pull request #2 from MGlolenstine/patch-1
Browse files Browse the repository at this point in the history
Fixed few errors
  • Loading branch information
aurexav authored Apr 16, 2020
2 parents 2d81ff6 + d00cc92 commit 0297ee1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fn main() {
.proxy("http://127.0.0.1:1087") // use proxy, default None
.random_user_agent(true) // use random user agent, default false
.user_agent("Mozilla/5.0") // specify user agent manually, default ""
.wait(5); // cloudflare's waiting time, but in my test it can be 0, default 0
.wait(5) // cloudflare's waiting time, but in my test it can be 0, default 0
};

// to pass the verify both of the cookie and user agent are needed
Expand All @@ -54,7 +54,7 @@ fn main() {
h
};

reqwest::ClientBuilder::new()
reqwest::blocking::ClientBuilder::new()
.default_headers(headers)
.build()
.unwrap()
Expand Down

0 comments on commit 0297ee1

Please sign in to comment.