python-user-agents icon indicating copy to clipboard operation
python-user-agents copied to clipboard

A Python library that provides an easy way to identify devices like mobile phones, tablets and their capabilities by parsing (browser) user agent strings.

Results 50 python-user-agents issues
Sort by recently updated
recently updated
newest added

I have two python virtual environments that are installed on the same Mac. And when I try to parse a user agent one virtual environment is giving a different answer...

For example: WeChat/facebook/twitter/Weibo

The README file requested to install all the project's dependencies separately, but this is actually not needed. The dependencies are listed in the `setup.py` file, and will be automatically installed,...

I'm guessing that these two regex in regexes.yaml should have worked but don't appear to do so. ``` - regex: '; *(SAMSUNG-)?(GT\-[BINPS]\d{4}[^\/]*)(\/[^ ]*) Build' - regex: '; *((?:SCH|SGH|SHV|SHW|SPH|SC|SM)\-[A-Za-z0-9 ]+)(/?[^ ]*)?...

Here are some improvements I would recommend to apply. Please, also deploy the changes to the Django package. These type of User Agents are not being recognized as "tablet": `Mozilla/5.0...

ua: Mozilla/5.0 (Linux; Android 5.0.2; vivo X6Plus A Build/LRX22G; wv) AppleWebKit/537.36 (KHTML like Gecko) Version/4.0 Chrome/48.0.2564.116 Mobile Safari/537.36 T7/10.0 baiduboxapp/10.0.5.11 (Baidu; P1 5.0.2) browser should return baidu but Chrome.

Hi, My nokia 3.1 is detected as a tablet, the user-agent is `Mozilla/5.0 (Linux; Android 8.0.0; Nokia 3.1 Build/O00623) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.91 Mobile Safari/537.36` Thanks!

oneplus is a wonderful mobile brand ; it should be added in your code

The Python implementation of user-parser is very slow. Do you guys use the CPP version of the [ua-parser]( https://github.com/ua-parser/uap-cpp) or the Python one? If not, do you think Cython`izing the...