tzw0745 / tumblr-crawler-cli

Tumblr Download Tool with High Speed and Customization. 高性能&高定制化的Tumblr下载工具。
MIT License
76 stars 17 forks source link

获取图片url越界 #4

Closed onlyAPK closed 5 years ago

onlyAPK commented 5 years ago

File "tumblr-crawler.py", line 106, in parse_sitethread uid = re.findall(r'tumblr([a-zA-Z0-9]{15,})', photo_url)[0] IndexError: list index out of range

加了个判断: if re.findall(r'tumblr_([a-zA-Z0-9]{15,})', photo_url): 就没问题了

tzw0745 commented 5 years ago

请问出错的photo_url是多少呢?

onlyAPK commented 5 years ago

不会py不会看log。。哈哈哈。是获取这个博主666convict的时候报错了。 命令行:python tumblr-crawler.py -x socks5h://127.0.0.1:1086 -p 666convict 你试一下看看 公然开车了 最后,万分感谢你的代码

tzw0745 commented 5 years ago

已更新代码,支持inline格式图片url。 commit 919b7e2

onlyAPK commented 5 years ago

万分感谢