Like a anole, fake everything.
Project description
Anole
Like anole, fake everything.
Currently only 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 = UserAgnet()
user_agent.fake(header)
It will check if there is "user-agent" in headers. If not, "user-agent" will update with random.
Use as fake_useragent
from angle 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.0.2.tar.gz
(4.4 kB
view hashes)
Built Distribution
anole-0.0.2-py3-none-any.whl
(5.0 kB
view hashes)