请教个问题,你的get_md方法使用requests.get无法获取具体的博文页面,最后返回的是js代码,无法解析,求解决方法 #4
Replies: 6 comments
-
这应该不是编码问题,求指教 |
Beta Was this translation helpful? Give feedback.
-
这个应该是csdn的反爬机制,脚本有时候正常,有时候不行,试试这个模拟浏览器的爬虫 #commit6 |
Beta Was this translation helpful? Give feedback.
-
老哥,不管是browser.get,还是session.get都没办法, |
Beta Was this translation helpful? Give feedback.
-
不会吧,为啥我可以用。。。 |
Beta Was this translation helpful? Give feedback.
-
已经解决了,是因为selenium我没有设置等待时间,谢啦, |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
All reactions