seanmonstar / reqwest

An easy and powerful Rust HTTP Client
https://docs.rs/reqwest
Apache License 2.0
9.92k stars 1.12k forks source link

Feature Request: Random User-Agent #1581

Open aress31 opened 2 years ago

aress31 commented 2 years ago

Could it be possible to set an option/flag for reqwest to out-of-the-box use/cycle through random user-agents? If needed, the function could take an array of possible user-agents.

seanmonstar commented 2 years ago

Thanks for the suggestion! Do you have examples of other libraries doing something similar? At first thought, it feels like out of scope for reqwest, and is something fairly straight forward for the user to do themselves...