pgaref / HTTP_Request_Randomizer

Proxying Python Requests
http://pgaref.com/blog/python-proxy/
MIT License
148 stars 60 forks source link

[Suggestion] use fake-useragent package #28

Closed mnlbox closed 6 years ago

mnlbox commented 7 years ago

Hi, Thanks for your package. I suggest use https://pypi.python.org/pypi/fake-useragent for user_agent part. It seems good. Here is get random user_agent steps with this package:

from fake_useragent import UserAgent
ua = UserAgent()
print(ua.random)
pgaref commented 7 years ago

Hello @mnlbox Thanks for pointing it out! It seems like a nice addition to the project - feel free to open a PR if you feel like contributing ;)