Skip to main content

Get Real user agent from auto update

Project description

Real User Agent Generator

Real User Agent With Auto Sync in Requests Module.

Installation

pip install real-useragent

Usage

import requests
import real_useragent

s = requests.Session()
print(s.headers['User-Agent'])

# Without a session
resp = requests.get('https://httpbin.org/user-agent')
print(resp.json()['user-agent'])

User Agents are Randomized Per-Session or Per-Request. Individual HTTP requests without a session will each have a random User-Agent selected from the list in desktop_useragent.txt or mobile_useragent.txt all files automatically updated every 8 hours.

Programmer : @Pymmdrza

Credit : Mmdrza.Com

Donate

Donate with Bitcoin: 1MMDRZA12xdBLD1P5AfEfvEMErp588vmF9

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

real_useragent-1.0.7.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

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

real_useragent-1.0.7-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file real_useragent-1.0.7.tar.gz.

File metadata

  • Download URL: real_useragent-1.0.7.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for real_useragent-1.0.7.tar.gz
Algorithm Hash digest
SHA256 6da317b7d458b5ded89f8e0a59c8b9f1b158f44ff9b6f4b510607f0f251c49cd
MD5 4a12b69311dabb0a8058f0977247bd64
BLAKE2b-256 62991364dbe8916378eca7b5ae33f55ca2395bea10ba19bc03fe9c279e5b4fd0

See more details on using hashes here.

File details

Details for the file real_useragent-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: real_useragent-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for real_useragent-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 555be28f12f9e3500c53daf8222b8055f1be0e0a4a99376ff60435dc3c145916
MD5 51e4a2c3040fd6fa60a622a5ce7ad4e3
BLAKE2b-256 c577b0daa1ea8b2a6d508442089d7adba23c24115c48ff1f4b1c30b05ed8fe8a

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