htcap_mysql icon indicating copy to clipboard operation
htcap_mysql copied to clipboard

crawler.py代码60行有错误

Open huayanqiaq opened this issue 6 years ago • 0 comments

useragent初始化是用的一个随机的头部方法,但是里面没有这个方法

所以可以参考官方的修改成固定的

"useragent": 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36'

huayanqiaq avatar Jul 05 '18 11:07 huayanqiaq