-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs clarification #23
Comments
For anyone who still wants the answer to this, but tldr, you can use the RANDOM_UA_TYPE setting (which defaults to random) and the middleware will generate a new user agent string for each request based on the above criteria. |
Thank @alecxe for providing this great project. For scrapy-proxies, I wonder what do you mean by set Usage with scrapy-proxies
Do I need to first Also, for Because you mentioned fake user agent needs to turn off built-in
|
@i-chaochen thank you for the kind words and the questions. Docs could definitely be better for this project, I agree.
Yeah,
It seems so. Though, I have not used this combination of scrapy-fake-useragent and scrapy-proxies myself. I'd say do some experimentation with the middlewares setup while logging proxies and headers. Hope that helps. |
@alecxe Thanks. After reading your code and a couple of tries I think I figured it out and tested it OK.
But just need to remember, if we set |
Does it assign a different UA to each request?
Does it assign a different UA to each request retry?
The text was updated successfully, but these errors were encountered: