CNKI-download icon indicating copy to clipboard operation
CNKI-download copied to clipboard

验证码出问题

Open dengwen168 opened this issue 4 years ago • 1 comments

采了一百多篇,验证码出问题,提示: ERROR:root:出现验证码 Traceback (most recent call last): File "main.py", line 144, in parse_page tr_table.tr.extract() AttributeError: 'NoneType' object has no attribute 'tr'

用不用识别码都报错,请帮忙看一下是什么原因?谢谢

dengwen168 avatar Mar 28 '20 23:03 dengwen168

验证码的html结构改了,需要重新分析验证码链接。 bs4 +find_all 可以解决

------------------ 原始邮件 ------------------ 发件人: "dengwen168"<[email protected]>; 发送时间: 2020年3月29日(星期天) 上午7:48 收件人: "CyrusRenty/CNKI-download"<[email protected]>; 抄送: "Subscribed"<[email protected]>; 主题: [CyrusRenty/CNKI-download] 验证码出问题 (#13)

采了一百多篇,验证码出问题,提示: ERROR:root:出现验证码 Traceback (most recent call last): File "main.py", line 144, in parse_page tr_table.tr.extract() AttributeError: 'NoneType' object has no attribute 'tr'

用不用识别码都报错,请帮忙看一下是什么原因?谢谢

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

czcxwe avatar Apr 03 '20 14:04 czcxwe