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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ca1d0e001d7800f2fa3ae2500aac3a813d5c24a7a2fad4371566d1ac2d4cfe6 |
|
MD5 | 6d9c6f701d7457045693db49e9b20e54 |
|
BLAKE2b-256 | 83d900e11b4a70c7820b8e9537a133cd65f4a4600b9d9e20ff70798cbfe30367 |
Close
Hashes for requests_random_user_agent-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 510bd67551f34f50f43ea9ea61accb69bf08e148c58639610c9386c3e3179354 |
|
MD5 | 01a81b24b0fcbc06b89c187eb2090e8f |
|
BLAKE2b-256 | ab48856ff9a1193cb6f19176170336280d3837b13be512d01f35e6549894d3f0 |