Automatically generate a random User Agent for the requests library
Project description
requests-random-user-agent
Configures the requests library to automatically use a popular desktop User-Agent. See the full list in requests_random_user_agent/useragents.txt.
Installation
pip install requests-random-user-agent
Usage
import requests
import requests_random_user_agent
s = requests.Session()
print(s.headers['User-Agent'])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for requests_random_user_agent-0.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28a4aaf329b501c535060234e15566fd7a8036826035290c31aa81ac45ae670c |
|
MD5 | 844eb728af07ffad78a2dcea4be8dd46 |
|
BLAKE2b-256 | b384e2036eda9713870532292457b0d6052b14b8a352f0537834da137c80dddb |
Close
Hashes for requests_random_user_agent-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ee97a02dbdbe15484efd63ebba00aca7912a984ae3b4724780d7f8ce0da859e |
|
MD5 | f66f7648a19a88c06d5da28bb1663558 |
|
BLAKE2b-256 | 7334b955b41d02a9dfa51e5af6305fd82d3585ee9ae208a68113b6205e08f700 |