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
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
fake_user_agent-0.0.6.tar.gz
(51.8 kB
view details)
Built Distribution
File details
Details for the file fake_user_agent-0.0.6.tar.gz
.
File metadata
- Download URL: fake_user_agent-0.0.6.tar.gz
- Upload date:
- Size: 51.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.25.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c11d1effdfece289fe1b22872b37b4cda71649ffe198b8843b96ce9991c5dd25 |
|
MD5 | 46d62dbe44d5ea4cb9fc82eae4e72dda |
|
BLAKE2b-256 | bfc9a5c8b782545d88d5b55e380d34a05829d20f11bed6a7836d7fe62162b383 |
File details
Details for the file fake_user_agent-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: fake_user_agent-0.0.6-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.25.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaf4fb5cd0f5cc528813517875a155c703adc7fb7a1800f081a4e6db5a665721 |
|
MD5 | 4bff1239865430a916a8bf5ae8e4772b |
|
BLAKE2b-256 | f5071d4880bda6c3fd84651f606bbc4ab4b1b139cfb9a3a93fda0895842e2b34 |