Randomly obtain the Useragent of the mobile phone
Project description
安装mobile_ua请求头
安装
使用pip安装
pip install mobile_ua
或者克隆这个项目并且执行setup.py安装
python setup.py install
使用
"""
@Time : 2025/6/2 13:51
@Author : white.tie
@File : test.py
@Desc :
"""
from mobile_ua import useragent
# 获取随机Ua
print(useragent.random_ua())
# 获取指定UA
print(useragent.get_ua(2))
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mobile_ua-1.0.3.tar.gz
(445.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
mobile_ua-1.0.3-py3-none-any.whl
(462.1 kB
view details)
File details
Details for the file mobile_ua-1.0.3.tar.gz.
File metadata
- Download URL: mobile_ua-1.0.3.tar.gz
- Upload date:
- Size: 445.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2953db652b4cd3f933f72e65f654bd4bb58fc082ba06df9fb12b0f34c5800e3
|
|
| MD5 |
7e1eca659d979826f2b70165e7ada3aa
|
|
| BLAKE2b-256 |
99f29ce2b879b7158235861da1024de72d3b708bfb998187865e7bf0d821894d
|
File details
Details for the file mobile_ua-1.0.3-py3-none-any.whl.
File metadata
- Download URL: mobile_ua-1.0.3-py3-none-any.whl
- Upload date:
- Size: 462.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a6bb23f4d891c281b161b93e4037369a711350fa2a306ea874c1859ea7af2e2
|
|
| MD5 |
fc59c5c0caac832a4734e19d39b26ffb
|
|
| BLAKE2b-256 |
f9a022f3052917622a27cfee06229c10f9709a3765ae8c2891db1f591698df9f
|