前言

  1. 在工作中,遇到了指纹认证很强,hook等逆向的性价比不高的时候。一般我会考虑使用使用selenium
  2. 一般我们会默认安装selenium,但是很多机构都会禁止掉selenium。这个时候就建议使用undetected-chromedriver

安装和使用

pip install undetected_chromedriver
import undetected_chromedriver as uc
driver = uc.Chrome()
driver.get('https://xxx.com')

交付使用

在 包的__init__文件加入如下内容
from multiprocessing import freeze_support
freeze_support()
posted on 2024-08-06 10:11  topass123  阅读(1)  评论(0编辑  收藏  举报