Generate fake user agents on the fly
Project description
Fake Agent
from FakeAgent import Fake_Agent
fa = Fake_Agent()
print(fa.random())
Fake-agent, generate fake browser user agents without a hassle!
Links 🔗
Features 💪
- Easy to use
- Works offline
- No need to install bunch of 3rd party packages
Install ⬇️
- Stable from pypi
pip3 install fake-agent
- Bleeding edge from github
pip3 install -U https://github.com/Itz-fork/Fake-agent/archive/master.zip
Usage 🤔
For more methods and detailed explanation, visit method documentation
Import and initialize the Fake_Agent
class
from FakeAgent import Fake_Agent
fa = Fake_Agent()
-
get()
- Get user agents as a list or generator according to the browser that Fake_Agent class initialized with- For more info visit - Fake_Agent.get documentation
-
random()
- Randomly select user agent- For more info visit - Fake_Agent.random documentation
License 👮
Licensed under MIT License
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-agent-0.1.4.tar.gz
(50.7 kB
view hashes)