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.2.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.2-py3-none-any.whl
(462.1 kB
view details)
File details
Details for the file mobile_ua-1.0.2.tar.gz.
File metadata
- Download URL: mobile_ua-1.0.2.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 |
b06964678081514adb2f7d1a7873417c73f148918a02862cf00dd4a8e600e9d3
|
|
| MD5 |
b18f63f33eb59b8c61054a62dc4b3d43
|
|
| BLAKE2b-256 |
898ca86a93da1cb3309bff9951c86ede6cf469e9694dad01e2e7861f8fa09a4b
|
File details
Details for the file mobile_ua-1.0.2-py3-none-any.whl.
File metadata
- Download URL: mobile_ua-1.0.2-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 |
38dd1252f2543ad2e5c6c01bf832ecdf3ab18411f86629163e0aaacf9c8aa42c
|
|
| MD5 |
f5f8ff945114bf8762cce83e97fdfa65
|
|
| BLAKE2b-256 |
b7c7dbc7e4de36aaba9357444da6612af17ca062a6f7279f946e5a960e811b9b
|