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.5.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.

real_useragent-1.0.5-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: real_useragent-1.0.5.tar.gz
  • Upload date:
  • Size: 3.2 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.5.tar.gz
Algorithm Hash digest
SHA256 111f598e4f0f5ecf1f7a1a615a1be5139d0346c236a6a5c417e6a0b84ba0c8e8
MD5 28cc83617a85e3f7e3984a62cb2e029f
BLAKE2b-256 3ff17023033ff67c0255afdafe6b78e673f7056a1e98231856a8f4a725d563ff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: real_useragent-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.7 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 00d19817ff8ef9a675b3dd4911db73a9aa1035ba5455290eff9aa5e7b556b4b2
MD5 4448809c8d61ddde122536edb62bfbe2
BLAKE2b-256 71de280acbdb2a8cc929f85dc43f16fb8f4070bdc4e6389c4bfae4c7ad4ba922

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