User-Agent generator
Project description
What is for user_agent library?
Well, it is for generating content of content of User-Agent header.
Usage Example
>>> from user_agent import generate_user_agent
>>> generate_user_agent(platform='linux')
'Mozilla/5.0 (X11; Ubuntu; Linux i686 on x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'
Installation
Use pip:
.. code:: bash
$ pip install -U user_agent
Contribution
Use github to submit bug,fix or wish request: https://github.com/lorien/user_agent/issues