当前位置:网站首页>Camouflage request header Library: Anti useragent
Camouflage request header Library: Anti useragent
2022-07-01 06:27:00 【HHYZBC】
Download method :
pip install anti_useragentUsage method :
Import UserAgent
from anti_useragent import UserAgentInstantiate objects
ua = UserAgent() # Instantiate objects Get request header
ua.chrome
# Mozilla/5.0 (iPhone; CPU iPhone OS 12_4_7} like Mac OS X) AppleWebKit/266.12 (KHTML, like Gecko) Version/9.0 Mobile/GAJLPQ Safari/266.12And the module supports the customization of request header information :
- Designated platform : windows, mac, linux:
ua = UserAgent(platform='mac')The default is windows
- Specify browser minimum and maximum versions :
ua = UserAgent(max_version=90) # The biggest version
ua = UserAgent(min_version=50) # Minimum version 边栏推荐
猜你喜欢

IT服务管理(ITSM)在高等教育领域的应用

C语言课设学生选修课程系统(大作业)

High order binary search tree

Teach you how to implement a deep learning framework

SystemVerilog learning-08-random constraints and thread control

Excel visualization

How does the port scanning tool help enterprises?

Mongodb: I. what is mongodb? Advantages and disadvantages of mongodb

分布式锁实现

idea 好用插件汇总!!!
随机推荐
扩散(多源广搜)
kubeadm搭建kubenetes 集群(个人学习版)
10-golang运算符
IT服务管理(ITSM)在高等教育领域的应用
JMM详解
手把手教你实现一个深度学习框架...
【自动化运维】自动化运维平台有什么用
记磁盘扇区损坏导致的Mysql故障排查
子类调用父类的同名方法和属性
Comment imprimer le tableau original
地宫取宝(记忆化深搜)
【ManageEngine】终端管理系统,助力华盛证券数字化转型
C语言课设学生考勤系统(大作业)
【ManageEngine】如何实现网络自动化运维
存储过程学习笔记
[postgraduate entrance examination advanced mathematics Wu Zhongxiang +880 version for personal use] advanced mathematics Chapter II Basic Stage mind map
异常检测方法梳理,看这篇就够了!
【网络安全工具】USB控制软件有什么用
What are the functions of LAN monitoring software
webapck打包原理--启动过程分析