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

Google Favicon is the user agent for downloading favicons defined by websites. https://developers.google.com/search/docs/advanced/appearance/favicon-in-search#crawler ```text Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 Google Favicon ```

Hi! Does this library allow random generation of a valid user agent string, or is it just for parsing them? Thanks!

Test results: https://github.com/cclauss/python-user-agents/actions

`python-user-agents` use `ua-parser` to parse the user agent [here](https://github.com/selwin/python-user-agents/blob/master/user_agents/parsers.py#L143) I would like to access the result of `ua_parser.user_agent_parser.Parse` through `python-user-agent` lib. It's too bad for me to parse the user...

Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.3 to 5.4. Changelog Sourced from pyyaml's changelog. 5.4 (2021-01-19) yaml/pyyaml#407 -- Build modernization, remove distutils, fix metadata, build wheels, CI to GHA yaml/pyyaml#472 -- Fix for...

dependencies

I came across a fair few cases where a device returns true on multiple of `is_mobile`, `is_tablet`, and `is_pc`. I believe this to be a bug (but am open to...

When trying to install the package the LICENSE file is not included in the `dist-info` folder - can I get some help finding out what is the root cause for...

User-Agent is: **Mozilla/5.0 (Linux; Android 5.0) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; Bytespider; https://zhanzhang.toutiao.com/)** This should be Bytespider Crawler. It is not a crawler that is only parsed. I...

``` @property def is_bot(self): return True if self.device.family == 'Spider' else False ``` Is it okay to update current implementation of is_bot property? Have any idea?