You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
你好啊,我运行到21页就报错了
weibo_comment.py的104行
max_id_json = html.xpath('//div[@node-type="comment_loading"]/@action-data')[0]
在爬到第21页时报错:IndexError: list index out of range
你运行有问题吗
例如://wx2.sinaimg.cn/thumb180/006CIwoely1g2ol25wd69j30u00u0jy9.jpg
拿到文件名:006CIwoely1g2ol25wd69j30u00u0jy9.jpg,大概是md5编码过的,
然后拼接URL,得到:http://wx3.sinaimg.cn/large/006CIwoely1g2ol25wd69j30u00u0jy9.jpg
就是高清大图的链接~
The text was updated successfully, but these errors were encountered: