user_agent
user_agent copied to clipboard
Generator of User-Agent header
https://devguide.python.org/#status-of-python-branches vs. https://devguide.python.org/devcycle/#end-of-life-branches https://www.appveyor.com/docs/lang/python
Test results: https://github.com/cclauss/user_agent/actions
Just compare how it works in the initial commit (my first version) and now - it returns incorrect results ``` ua -e -n chrome -o linux { ... "platform": "X11;...
https://github.com/lorien/user_agent/blob/9af2d1a243338d667027491da67d75a4545ef84e/user_agent/device.py#L7 ``` SMARTPHONE_DEV_IDS = json.load(open(os.path.join( PACKAGE_DIR, 'data/smartphone_dev_id.json'))) ``` this path on windows didnt exists correct way: ``` SMARTPHONE_DEV_IDS = json.load(open(os.path.join( PACKAGE_DIR, 'data','smartphone_dev_id.json'))) ```
Can you update new CHROME_BUILD? I think it is out dated, some website refuse current CHROME_BUILD your lib
 In the official docs, the types of `os`, `navigator`, `platform` and `device_type` are `(string or list/tuple or None)`. However, the type hints are `None | str`. Therefore, I fixed...