Skip to main content

由于国内网络限制无法使用 fake_useragent 库而制作的替代品

Project description

call_useragent

安装

pip install --user call_useragent

使用

  1. 随机调用
import call_useragent
headers = {'User-Agent': call_useragent.random()}

后续也许会有其他功能

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

call_useragent-0.0.1.tar.gz (17.3 kB view hashes)

Uploaded Source

Built Distribution

call_useragent-0.0.1-py3-none-any.whl (17.1 kB view hashes)

Uploaded Python 3

Supported by

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