绕过TLS指纹检测
常用库有:
curl-cffi(也能绕过akamai和盾指纹检测)有一个弊端, 只能处理标准的TLS指纹, 如果是修改过的TLS指纹验证, 就只能修改requests的底层代码才能绕过
pyhttpx
pycurl
curl-cffi的案例:
from curl_cffi import requests
from curl_cffi.requests.session import BrowserType
response = requests.get('https://ascii2d.net/', impersonate=BrowserType.edge99, cookies=cookies, headers=headers).text
print(response)
impersonate=BrowserType.edge99
https://tls.browserleaks.com/json TLS指纹检测
https://tls.peet.ws/api/all akamai指纹检测
https:ascli2d.net Shield fingerprint detection
验证码:
腾讯系 (魔改 AES)
数美 (小红书 DES 加密)
顶象
网易易盾
百度旋转 (AES轨迹加密)