Automatically generate a random User Agent for the requests library
Project description
requests-random-user-agent
Configures the requests library to randomly select a 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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1c79151b581889f78de328d98339fe9f212dc302e72cf3e2aed2cc8feb35868 |
|
MD5 | b3d9bd47c3ae34d87ed42f2ec441fff2 |
|
BLAKE2b-256 | 2c22dbc1a16ecf437bac32e69019b2dad2dfe2df57beee999b6fe14b24fcf310 |
Close
Hashes for requests_random_user_agent-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6ad9cd510025c8525b1496ddb141a67eb7d9d356602f5377893b3756e69dbe2 |
|
MD5 | e22562f9710228f6d5639cfb5c0f578b |
|
BLAKE2b-256 | 5df5ef04545e14ea96e0068c6d7d6b307721cd2484228e69c61d236e468f1050 |