You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 :The text was updated successfully, but these errors were encountered: