LiuXingMing / SinaSpider

新浪微博爬虫(Scrapy、Redis)
3.27k stars 1.52k forks source link

加下滑动解锁,(*Φ皿Φ*) #73

Open exuan opened 6 years ago

exuan commented 6 years ago
from https://github.com/LiuXingMing/WeiboSliderCode/blob/master/login.py import draw, getType

try:
    if browser.find_element_by_id('patternCaptchaHolder'):
        draw(browser, getType(browser))  # 滑动破解
except Exception:
    pass