ihandmine / anti-useragent

fake pc or app browser useragent, anti useragent, and other awesome tools
https://ihandmine.github.io/docs-ua/
Mozilla Public License 2.0
230 stars 12 forks source link

KeyError: 'TLSv1_2' #2

Open luoshun1 opened 2 years ago

luoshun1 commented 2 years ago

image

image

是我的使用方法有问题吗? 看 anti_useragent\utils\cipers.py 里面是直接del了 'TLSv1_2', 所以第二次就报错了

ihandmine commented 2 years ago

我这里验证过了, 确实是在开放指定TLS版本的时候没有控制使用多次时的问题, 我修复一下, 更新后可以正常使用