Skip to content
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

stop faking user agent #132

Closed
matkoniecz opened this issue May 29, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@matkoniecz
Copy link

commented May 29, 2019

According to

/// <summary>
/// Gets or sets the value of the User-agent HTTP header.
/// It's pseudo-randomized to avoid blockages...
/// </summary>
public static string UserAgent = string.Format("Mozilla/5.0 (Windows NT {1}.0; {2}rv:{0}.0) Gecko/20100101 Firefox/{0}.0",
Stuff.random.Next(DateTime.Today.Year - 1969 - 5, DateTime.Today.Year - 1969),
Stuff.random.Next(0, 10) % 2 == 0 ? 10 : 6,
Stuff.random.Next(0, 10) % 2 == 1 ? string.Empty : "WOW64; ");
this program fakes user agent in attempt to bypass usage limits

Please, stop doing this and start respecting usage limits instead.

@radioman

This comment has been minimized.

Copy link
Owner

commented May 29, 2019

Bla bla bla...

@radioman radioman closed this May 29, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.