Python/packages/fake-useragent

From raju

< Python‎ | packages

installation

Install using

    pip install fake-useragent
    

Asof 2018-07-06, it is not officially packaged in conda. A 0.1.2 version is available in mlgill channel which is very old. The version in pip is much newer, 0.1.10.

upstream

https://github.com/hellysmile/fake-useragent

why

The fake-useragent package is useful to make requests from a python program appear as if coming from a web browser. The package generates fake user agent strings. It can also randomly change these strings between successive requests.

For sample usage see key_stats.py