赞
踩
不知道为什么一运行就开始报这个错误
Traceback (most recent call last):
File "D:/Study/HackerC/hacker.py", line 397, in <module>
main()
File "D:/Study/HackerC/hacker.py", line 394, in main
py_leaderboard(tab, re_tab, i)
File "D:/Study/HackerC/hacker.py", line 354, in py_leaderboard
page = get_maxpage(tab, title_id)
File "D:/Study/HackerC/hacker.py", line 295, in get_maxpage
return int(targets.a['data-attr8'])+1
AttributeError: 'NoneType' object has no attribute 'a'
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。