selenium + chrome 被檢測,反反爬小記

selenium + chrome

不少難以採集的網站都使用selenium爬取,可是後來發現selenium有特徵值,會被檢測出來,今天來小結一下反反爬方案
測試網站 全綠好像表明沒被檢測出html

中間人修改js

網上不少都是這種博客,不知道靠不靠譜python

pyppeteer

這種python的異步請求庫,彷佛極好的解決了
簡書博客web

開發者模式

彷佛使用開發者模式能夠避免被檢測,還須要測試
[python+selenium代碼]chrome

options = webdriver.ChromeOptions()
options.add_experimental_option('excludeSwitches', ['enable-automation'])
相關文章
相關標籤/搜索