Randomly obtain the Useragent of the mobile phone
Project description
*** 1.0.4 版本新增功能** *
版本新增配置任务队列优先级,以用来支持有优先级的消息队列
#在settings.py 新增系列配置即可
'QUEUE_X_MAX_PRIORITY': 10
Scrapy分布式RabbitMQ调度器
安装
使用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.0.tar.gz
(446.1 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.0-py3-none-any.whl
(462.2 kB
view details)
File details
Details for the file mobile_ua-1.0.0.tar.gz.
File metadata
- Download URL: mobile_ua-1.0.0.tar.gz
- Upload date:
- Size: 446.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba71db74a35f2afeca910d51b81b91bd85cf716d967603e303229be834d59e9b
|
|
| MD5 |
4fd9379aaa3ff688f6bc2143c57f8f8d
|
|
| BLAKE2b-256 |
b1e4e0c69b8a9eade6a6665a9cf87d12d2b34791124c8e46b67c3d2a81dae4e8
|
File details
Details for the file mobile_ua-1.0.0-py3-none-any.whl.
File metadata
- Download URL: mobile_ua-1.0.0-py3-none-any.whl
- Upload date:
- Size: 462.2 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 |
2c7f0cc1e5851a34ead6845ba5bd31834544273d22a44a52578c3b260a500848
|
|
| MD5 |
d9d7737944f9d89dc1cf5ac6f142f869
|
|
| BLAKE2b-256 |
2dffe34a9221c9c459d3b5ab6398bf6b76f2fff82141e1608a6fd92331d23550
|