Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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

This version
History Node

1.0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
fua-1.0.2-py2-none-any.whl (6.5 kB) Copy SHA256 hash SHA256 Wheel py2 Dec 3, 2016
fua-1.0.2.tar.gz (5.8 kB) Copy SHA256 hash SHA256 Source None Dec 3, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page