get a browser user_agent by random
Project description
简介
browser_useragent 库共包含246个浏览器请求头
参考fake_useragent库,对其进行了简化,解决网络不好文件下载失败的问题
chrome, opera, firefox, safari, internetexplorer
来源: fake_useragent: http://d2g6u4gh6d9rq0.cloudfront.net/browsers/fake_useragent_0.1.9.json
快速开始
安装
pip install browser_useragent
使用
>>from browser_useragent import get_user_agent
>>get_user_agent()
>>'Mozilla/5.0 (X11; OpenBSD amd64; rv:28.0) Gecko/20100101 Firefox/28.0'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Close
Hashes for browser_useragent-0.0.1-py3.6.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6081ce842e6bb3c41dd39833c8f81b91aa83c8f65fd4254716d0b4f049f9cd3 |
|
MD5 | 912fe890260f22be28a102ce8d515054 |
|
BLAKE2b-256 | 84a27dd4aa4e8441eeadaa6ba7b665619a01ca2730e719cb7463e0496b994d3a |
Close
Hashes for browser_useragent-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efbf39acce836d2dfebd64b0bc6b0087717d76005ee2cc2c99ed53af4e07d001 |
|
MD5 | 013406d02ab1b4f03d18d8ef6853f00d |
|
BLAKE2b-256 | 24bd4355b83c2a6d2ccfd43b20d64ef9178ba92f8814a6031e1e540230134c65 |