Skip to main content

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.1.tar.gz (445.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mobile_ua-1.0.1-py3-none-any.whl (462.1 kB view details)

Uploaded Python 3

File details

Details for the file mobile_ua-1.0.1.tar.gz.

File metadata

  • Download URL: mobile_ua-1.0.1.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

Hashes for mobile_ua-1.0.1.tar.gz
Algorithm Hash digest
SHA256 4b30bd2fd45c97d5d4f7f02380c9bb84ec2513f0dfa93e0064711163290f1c5c
MD5 4c07664ad374084f86af92e9a8613c89
BLAKE2b-256 e25be3d0a549faafb58d89b9cc06822a50441011b749d22892b8fb355bb98d5c

See more details on using hashes here.

File details

Details for the file mobile_ua-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: mobile_ua-1.0.1-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

Hashes for mobile_ua-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9b277f4540775bb8ccfa3b172f52fb7fdd72a240b05c99e4c2b18764d89fb97d
MD5 57c7c4f67dcf1edc5330e53cde6c9926
BLAKE2b-256 843a160f87574f11c1e7ef068abcdd2b28ff2eb17808f227ec91e28ac8ba067b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page