8000 GitHub - Colean128/pythuadetector: Python library for detecting User Agents.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Colean128/pythuadetector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

pythuadetector

Python library for detecting User Agents.

Usage

import pythuadetector

USERAGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0"

# Output should be Mozilla Firefox on Microsoft Windows 10
pythuadetector.uadetect(USERAGENT)

My user agent is Unknown!

Go to Issues and put in an issue with this format please:

User agent: UnknownUserAgent
Expected output: Browser Name on Platform Name
Actual output Browser Name/Unknown Browser on Platform Name/Unknown Platform

I want to add a device explicitly!

Go to Issues and put in an issue with this format please:

User agent: UnexplicitUserAgent
Expected output: Browser Name on Platform Name e.g. Android
Actual output Browser Name on Device Name (Platform Name) e.g. Tesco Hudl (Android)

About

Python library for detecting User Agents.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0