-
Notifications
You must be signed in to change notification settings - Fork 47
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
Allow for a custom User-Agent header at runtime #33
Comments
Agreed, alternatively randomize them. This has several hundred (maybe thousand) for every os, console, browser, etc: https://github.com/ray-lothian/UserAgent-Switcher/
|
What about we start by setting the user agent to a very common one? |
I did some testing and I didn't have much luck when changing the User-Agent header. I did get different failure scenarios depending on the User-Agent I sent so i think the code works. If you have better luck, please let me know. |
I played around with some user agents. I only received error pages. That's interesting. I would've expected it the other way around. |
Facebook seems to be rate limiting hard for anyone that uses this program. They might be looking at requests that are coming into https://mbasic.facebook.com and checking the User-Agent header which defaults to
Go-http-client/1.1
in net/http and blocking people.Allowing a user to set a random common User-Agent at runtime might help with the rate limiting.
The text was updated successfully, but these errors were encountered: