Like a anole, fake everything.
Project description
Anole
Like a anole, fake everything.
Currently support user agent fake, other will be coming soon.
Thanks for use.
How to use
from anole import UserAgent
# Suppose this is the request headers
headers = {
"referer": "https://leesoar.com"
}
user_agent = UserAgent()
user_agent.fake(headers)
It will check if there is "user-agent" in headers. If not, "user-agent" will update with random.
Use as fake_useragent
from anole import UserAgent
user_agent = UserAgent()
user_agent.random
# or user_agent.chrome
# or other browsers
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
anole-0.1.6.tar.gz
(4.8 kB
view details)
Built Distribution
anole-0.1.6-py3-none-any.whl
(5.4 kB
view details)
File details
Details for the file anole-0.1.6.tar.gz
.
File metadata
- Download URL: anole-0.1.6.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.0.2rc1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
ea70becadd9e9ae1ea1c27f305670a876f5e41a9d9067c3066a5c686001dc165
|
|
MD5 |
8195a0cc081e57c5bd7dc932af2eb0f5
|
|
BLAKE2b-256 |
da5a2dbe6f2dcd278b2fa72ae2b5cf6dcbaaed272609a244f0118feec96753a8
|
File details
Details for the file anole-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: anole-0.1.6-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.0.2rc1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
4c6b58564a2ed813b8dd0365db2be6c49e70c5439eef6005586890c367478394
|
|
MD5 |
c0b529a7a9aed3507435f1de8e815d2d
|
|
BLAKE2b-256 |
1ef364c2f594bd71c7edcb7910b673fd25ddf5e739ce342335d1ae937b2620da
|