Skip to main content

Automatically generate a random User Agent for the requests library

Project description

requests-random-user-agent Build Status PyPI

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

requests_random_user_agent-0.0.8.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

requests_random_user_agent-0.0.8-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file requests_random_user_agent-0.0.8.tar.gz.

File metadata

  • Download URL: requests_random_user_agent-0.0.8.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.4.6

File hashes

Hashes for requests_random_user_agent-0.0.8.tar.gz
Algorithm Hash digest
SHA256 0b0614f2dbd15ca1214b169e85167ebe4c83d58ba54703b066e1e0f65af1b3d9
MD5 491e1af09b4aab48e46d587cfa23a695
BLAKE2b-256 768b397c194e0ff9c3d3d7126056aa52ead5d63fda19fb4cdbc2172bfef57264

See more details on using hashes here.

File details

Details for the file requests_random_user_agent-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: requests_random_user_agent-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.4.6

File hashes

Hashes for requests_random_user_agent-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 63c99bf3470e3458761a377ab2eed8611fc87d66bf22be29fdccbb1bc10def9b
MD5 07da8a8f17c4704ad37702fbe1e6482a
BLAKE2b-256 bfda6a56db9a64865ce791bb38adfed40f4d5eb31524d338fe257229da3757f0

See more details on using hashes here.

Supported by

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