{"id":18881055,"url":"https://github.com/tylertemp/uadetect","last_synced_at":"2026-02-20T23:30:18.027Z","repository":{"id":86362605,"uuid":"86871316","full_name":"TylerTemp/uadetect","owner":"TylerTemp","description":"A simple User-Agent detect for Chinese UA","archived":false,"fork":false,"pushed_at":"2017-04-01T02:26:37.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-31T03:26:05.546Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TylerTemp.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-01T00:51:00.000Z","updated_at":"2017-04-01T01:56:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"51736c8d-0a29-44b3-8a1d-3e3233492e3d","html_url":"https://github.com/TylerTemp/uadetect","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerTemp%2Fuadetect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerTemp%2Fuadetect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerTemp%2Fuadetect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerTemp%2Fuadetect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TylerTemp","download_url":"https://codeload.github.com/TylerTemp/uadetect/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239850443,"owners_count":19707348,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T06:47:12.246Z","updated_at":"2026-02-20T23:30:17.985Z","avatar_url":"https://github.com/TylerTemp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"UaDetect\n========\n\nA simple User-Agent detect for Chinese UA.\n\nRef: https://gist.github.com/tjefferson/807106972c71b30ea9c2\n\nInstall\n-------\n\n.. code:: bash\n\n    pip install git+https://github.com/TylerTemp/uadetect.git\n\nOR\n\n.. code:: bash\n\n    git clone https://github.com/TylerTemp/uadetect.git\n    cd uadetect\n    python setup.py install\n\nUsage\n-----\n\n.. code:: python\n\n    import uadetect\n\n    uastring = 'Mozilla/5.0 (Windows; U; Windows NT 6.1; zh_CN) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/18.0 BIDUBrowser/2.6 Safari/534.7'\n    print(uadetect.browser(uastring))  # baidu\n    print(uadetect.guess_browser(ua))  # ['baidu', 'uc', 'chrome']\n    print(uadetect.supported_browsers)\n    # ['sogou', 'explorer2345', 'liebao', 'wechat', 'qqbrowser', 'baidu', 'uc', 'miuibrowser', 'mobileqq', 'shoujibaidu', 'samsungbrowser', 'firefox', 'maxthon', 'se360', 'ee360', 'theworld', 'weibo', 'nokiabrowser', 'opera', 'edge', 'qqlive', 'letv', 'youku', 'androidbrowser', 'ie', 'toutiao', 'chrome', 'safari']\n\nTest\n----\n\n.. code:: bash\n\n    git clone https://github.com/TylerTemp/uadetect.git\n    cd uadetect\n    python setup.py test\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylertemp%2Fuadetect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftylertemp%2Fuadetect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylertemp%2Fuadetect/lists"}