Skip to main content

Automatically Generate User agents

Project description

userAgentRandomizer

Automatically Generate User agents

Installation

pip install userAgentRandomizer

To Use:

from userAgentRandomizer import userAgents

ua = userAgents()

random_useragent = ua.random()

print(random_useragent)

Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:5.0) Gecko/20110619 Firefox/5.0

print(ua.count())

4513

Advanced Features:

ua.random can pass one of the following options to 'engine', ["Chrome","Firefox","Edge","Opear","Safari"] - if no option selected it will return one at random.

print(ua.random('Firefox'))

Mozilla/5.0 (Windows; U; Windows NT 6.1; hu; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9 (.NET CLR 3.5.30729)

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

userAgentRandomizer-0.1.8.tar.gz (36.3 kB view details)

Uploaded Source

File details

Details for the file userAgentRandomizer-0.1.8.tar.gz.

File metadata

  • Download URL: userAgentRandomizer-0.1.8.tar.gz
  • Upload date:
  • Size: 36.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for userAgentRandomizer-0.1.8.tar.gz
Algorithm Hash digest
SHA256 e4e20952e649cda3958080003d943ac13aa04f7278856d28557c09788ba08231
MD5 2cb34a9248ba45884e08ee2ac9594229
BLAKE2b-256 467c62e09100022bba7ff1fb16d37ccc18333944ee11d9004ea998d804f7fdb6

See more details on using hashes here.

Provenance

Supported by

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