from FakeAgent import Fake_Agent
fa = Fake_Agent()
print(fa.random())
Fake-agent, generate fake browser user agents without a hassle!
- Easy to use
- Works offline
- No need to install bunch of 3rd party packages
- Stable from pypi
pip3 install fake-agent
- Bleeding edge from github
pip3 install -U https://github.com/Itz-fork/Fake-agent/archive/master.zip
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
Licensed under MIT License