Skip to main content

Random Useragent

Project description

ua-generator

A random user-agent generator for Python >= 3.6

Features

  • No external user-agent list. No downloads.
  • Templates are hardcoded into the code.
  • Platform and browser versions are based on real releases.
  • Client hints (Sec-CH-UA fields).

Installing

pip3 install -U yan-random-useragent

Basic usage

import generate_random_ua

ua = generate_random_ua()
print(ua) # Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/15.2 Safari/604.1.38

Author

Jasson Nguyen (admin@taocuaba.com)

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

generate_random_useragent-1.0.0.tar.gz (1.6 kB view details)

Uploaded Source

Built Distributions

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

generate_random_useragent-1.0.0-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

Generate_Random_Useragent-1.0.0-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

File details

Details for the file generate_random_useragent-1.0.0.tar.gz.

File metadata

File hashes

Hashes for generate_random_useragent-1.0.0.tar.gz
Algorithm Hash digest
SHA256 406b4a5ae50080a7272fb7478c6ed6f3d4f433e5d78837bcb57ede4d79891070
MD5 c5c6fc12e8419408349f4c5b6ad1a58b
BLAKE2b-256 20a6f96828295a3d5b14a5c52f0b4b2fb00dd99794e3c2ce8e2622b9ab1b35af

See more details on using hashes here.

File details

Details for the file generate_random_useragent-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for generate_random_useragent-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3520c7bda7f1c8785f2e0bd02905bcc6afcd348d72217bb9e965ec9bd5e7c7c7
MD5 e852cd28799e69ab3af76f1d5b9a1e3d
BLAKE2b-256 5459fda28ba1751a5f9bbddcfd656f76895c216d2a1bce65a99bd4b148f7788c

See more details on using hashes here.

File details

Details for the file Generate_Random_Useragent-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for Generate_Random_Useragent-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 60a666f639d10493ebd4be64b86d884c766cd7b0132ec4c03c174f825322dd2c
MD5 458b552010e0ce25c5b62e7f32d72061
BLAKE2b-256 4e473daf3ae0e5f248062fe618d76b7f229768fd8f22a6cabd80725beb34e124

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