https://github.com/itz-fork/fake-agent
Generate fake browser user agents without a hassle!
https://github.com/itz-fork/fake-agent
fake-agent fake-data fake-user-agent fake-useragent user-agent user-agents
Last synced: 5 months ago
JSON representation
Generate fake browser user agents without a hassle!
- Host: GitHub
- URL: https://github.com/itz-fork/fake-agent
- Owner: Itz-fork
- License: mit
- Created: 2022-07-27T19:59:59.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-29T16:07:04.000Z (over 2 years ago)
- Last Synced: 2024-12-19T16:20:07.113Z (6 months ago)
- Topics: fake-agent, fake-data, fake-user-agent, fake-useragent, user-agent, user-agents
- Language: Python
- Homepage: https://itz-fork.github.io/Fake-agent
- Size: 97.7 KB
- Stars: 13
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fake Agent
```python
from FakeAgent import Fake_Agentfa = Fake_Agent()
print(fa.random())
```**Fake-agent**, generate fake browser user agents without a hassle!
## Links 🔗
- [Documentation 📔](https://itz-fork.github.io/Fake-agent)
- [Features 💪](#features-)
- [Installation ⬇️](#install-)
- [Usage 🤔](#usage-)
- [License 👮](#license-)## Features 💪
- Easy to use
- Works offline
- No need to install bunch of 3rd party packages## Install ⬇️
- Stable from [pypi](https://pypi.org/project/fake-agent)
```
pip3 install fake-agent
```
- Bleeding edge from [github](https://github.com/Itz-fork/Fake-agent)
```
pip3 install -U https://github.com/Itz-fork/Fake-agent/archive/master.zip
```## Usage 🤔
For more methods and detailed explanation, visit [method documentation](https://itz-fork.github.io/Fake-agent/#/methods/README)**Import and initialize the `Fake_Agent` class**
```python
from FakeAgent import Fake_Agentfa = 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](https://itz-fork.github.io/Fake-agent/#/methods/get)- `random()` - Randomly select user agent
- For more info visit - [Fake_Agent.random documentation](https://itz-fork.github.io/Fake-agent/#/methods/random)## License 👮
Licensed under [MIT License](LICENSE)