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

Up to date random UA via real world browser usage statistic #122

Closed
LeMoussel opened this issue Dec 15, 2020 · 1 comment · Fixed by #124
Closed

Up to date random UA via real world browser usage statistic #122

LeMoussel opened this issue Dec 15, 2020 · 1 comment · Fixed by #124
Labels
enhancement New feature or request

Comments

@LeMoussel
Copy link

I think the list of user agents is too small (USER_AGENT_LIST).

In other projects, I use (successfully) this library: fake-user agent. Up to date simple useragent faker with real world database.

In utils.py, get_rand_user_agent() maybe like this :

from fake_useragent import UserAgent

def get_rand_user_agent():
   ua = UserAgent()
   # Return random UA via real world browser usage statistic
   return ua.random
@LeMoussel LeMoussel added the enhancement New feature or request label Dec 15, 2020
@deven96
Copy link
Member

deven96 commented Jan 4, 2021

Would you mind opening a PR to effect this? @LeMoussel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants