Skip to main content

Fake useragent randomly generates a useragent for fetching a webpage without a browser.

Project description

Randomly generate a fake useragent.

This project's idea is inspired by fake-useragent. I rewrote the whole codes in order to boost performance by:

  • using asyncio and aiohttp to improve fetching speed
  • taking advantage of Xpath to improve parsing speed
  • changing random choice algorithm to improve random choice speed

Usage

on terminal, enter fakeua

Installation

pip install fake_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

fake_user_agent-0.0.5.tar.gz (51.9 kB view details)

Uploaded Source

Built Distribution

fake_user_agent-0.0.5-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file fake_user_agent-0.0.5.tar.gz.

File metadata

  • Download URL: fake_user_agent-0.0.5.tar.gz
  • Upload date:
  • Size: 51.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.1

File hashes

Hashes for fake_user_agent-0.0.5.tar.gz
Algorithm Hash digest
SHA256 81982090e803dcda2fbd6e35e03819dd66b29322a4e12e433055517c39cdaf2f
MD5 c0e984620b8bd4c09171f69130df0e24
BLAKE2b-256 6129736a0d680dae76eb63472e85a0e02b1d53ff94b7c74d029996d3e37b74d6

See more details on using hashes here.

File details

Details for the file fake_user_agent-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for fake_user_agent-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 732c1f3f5ba3d227b6dc6eb47df8edf144c4a23b4c593c797dba147601c1948f
MD5 44421a2b41035af587b9a3d188a26a3f
BLAKE2b-256 f4ef59a4ee17aacfa43c060bfaeff2a6467a42000ab4b14783a5692b816271d3

See more details on using hashes here.

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