Fake User-Agents of many real devices
Project description
In many Python script,we need to change our User-Agent,due to webserivce security or etc. By fua you can change your User-Agent string easily and fast. It supports :
Smartphones : Android(Browser,Firefox,WebView,Chrome,Opera) iOS(Saffari,Firefox,Chrome) Windows Phone(Browser) Blackberry(Browser) Palm(Blazer) Fennec(Browser) Symbian(Browser,Go_Browser,Opera_Mini,Opera) Maemo(Browser,Firefox) Motorola(MIB) FirefoxOS(Browser) Samsung(Tizen) ---- Desktop : Windows(IE,Edge,Firefox,Chrome,Opera,Saffari,SeaMonkey) macOS(Saffari,Firefox,Opera,Chrome,Camino,SeaMonkey) Google Chrome(Chrome,Firefox) FreeBSD(Chrome,Opera,Firefox) Linux(Chrome,Opera,Firefox,SeaMonkey) Unix(Chrome,Surf,Opera) --- Wearable : Google Glass --- Smart TV : Samsung(Browser,HBB,SmartHub) Sharp Sony Technisat VIZIO Toshiba Philips Roku tvOS LG(Netcast) Google TV Mapple Browser HBB TV Google ChromeCast Netgear Panasonic --- Game Consoles : Xbox One Playstation4
Usage:
Sample 1:
import fua #Importing fua android = fua.SmartPhone.Android() #Creating a SmartPhone Android device android_ff_ua = android.Firefox() #Android Firefox UserAgent
Sample 2:
import fua,requests
osx_chrome_ua = fua.Desktop.macOS().Chrome()
#If you print(osx_chrome_ua) , you will see the User Agent of Chrome in macOS
github_page = requests.get('https://github.com',headers={'User-Agent':osx_chrome_ua})
Installation:
pip install fua
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
fua-1.0.2.tar.gz
(5.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
fua-1.0.2-py2-none-any.whl
(6.5 kB
view details)
File details
Details for the file fua-1.0.2.tar.gz.
File metadata
- Download URL: fua-1.0.2.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a093d1e93223542f90cb5f362ff64feba5111f5e122ba95d8566f03e4e16a4c4
|
|
| MD5 |
39b750fa336fb487ff7f08166241db6c
|
|
| BLAKE2b-256 |
2e612f4e317c5d9d146e78c4a7d74fcf1b350169b8c7bb0382c5a8ed9561af6f
|
File details
Details for the file fua-1.0.2-py2-none-any.whl.
File metadata
- Download URL: fua-1.0.2-py2-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6651c3146e0890b45fa1893d2ce850194502476cd17c7c51864e384aa8b3fbcf
|
|
| MD5 |
f388c9a4ecb957e680f925465a2ad4f6
|
|
| BLAKE2b-256 |
cc07cfd1faaab98e6e335d3b9ed2a43a2ece2be71ad1ae9285cd4d9e6983b95d
|