
1 spotfg 2019 年 8 月 4 日 selenium 爬虫也是可以被检测到的,你可以用 mitmproxy 修改一下 driver |
2 Ct5T66PVR1bW7b2z 2019 年 8 月 4 日 via Android firefox 可以解决 |
3 asus10tu OP @spotfg 我在代码里开启了开发者模式 options.add_experimental_option('excludeSwitches', ['enable-automation']) 理论上检测 driver 之类的都跟正常浏览器一样了 |
5 DanielGuo 2019 年 8 月 4 日 没有遇到过你的问题,我用通过 java 或者 python 调用 selenium 做爬虫的时候,和人手工点击完全一致 |
8 spotfg 2019 年 8 月 4 日 那你可以试试打开 chrome 远程调试模式。实在不行,那还是乖乖用拦截修改吧 |
9 Leigg 2019 年 8 月 4 日 via Android 不要用 click 方法,用 execute_script 方法传入 js 代码点击元素 |
12 spotfg 2019 年 8 月 4 日 @asus10tu 不是,是为了反爬,这样可以隐藏 selenium 指纹信息。在 cmd 下输入 chrome.exe --remote-debugging-port=9222 --user-data-dir="绝对路径" 然后添加 chrome_options.add_experimental_option('debuggerAddress','127.0.0.1:9222') |
15 lawler 2019 年 8 月 5 日 猜测是没查询到鼠标轨迹吧。 |
16 xxxy 2019 年 8 月 5 日 via Android 最近在用 puppeteer 写爬虫,不妨发个链接我试试 |
17 LUXiaobo 2019 年 8 月 7 日 网站会检测 chrome 的一些属性,比如 navigator.webdriver |