Skip to main content

User-Agent generator

Project description

https://travis-ci.org/lorien/user_agent.png?branch=master https://img.shields.io/pypi/dm/user_agent.svg https://img.shields.io/pypi/v/user_agent.svg

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

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page