tzw0745 / tumblr-crawler-cli Goto Github PK
View Code? Open in Web Editor NEWTumblr Download Tool with High Speed and Customization. 高性能&高定制化的Tumblr下载工具。
License: MIT License
Tumblr Download Tool with High Speed and Customization. 高性能&高定制化的Tumblr下载工具。
License: MIT License
首先非常感谢你的代码!(趁着tumblr还没有完全关,赶紧备份……)
图片抓取应该没什么问题(也可能是我暂时没有检查出来)
但是可以发现视频抓取有遗漏
执行代码
python tumblr-crawler.py --video wanimal1983
抓取的视频共有25个,而实际上从以下地址看到所有的视频
http://wanimal1983.org/archive/filter-by/video
我数了数共有48个,遗漏了不少,请问是什么原因导致的?
File "tumblr-crawler.py", line 106, in parse_site_thread
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):
就没问题了
Thanks for the effort on the tumblr-crawler-cli, after several try with it, I have some suggestion for enhancement.
Suggest to have a .txt file to list the name of tumblr site.
Suggest to allow the authentication so that the private site we can still use an account to do it.
当网络不稳定导致中断后,不得不重新下载;当有好几年数据量时,重新下载比较费时
uid = re.findall(uid_reg, photo_url)[0][1]
这一行,当图片地址没有匹配到**tumblr_**时抛数组异常,导致任务结束;
tip,测试出问题的地址 migg1001
README里运行程序的命令里,程序名好像打错了。
hi,
Have you considered about adding some features ?
Just like, em...
当前代码只能爬取到特定的图片
当博主点击撰写博文时选择的是 图片来编辑内容时,其中图片可以正常爬取
当博主点击撰写博文时选择 文章 来编辑内容时,文章中的图片不能被爬取
用例:https://studykkkk.tumblr.com/
链接共有两条博文,测试只能爬取出其中一条内的图片。
海贼图片的博文是通过选择文章来发送的,不能被爬取。
我按照使用方式正确的到了抓取这一步,然后终端打印是start了,接着得到的打印是这样的:
Thread 4 RequestException: /Users/edwardlear/Desktop/liamtbyrne/liamtbyrne/2015-10-16 06.04.53 GMT.131269594843.nwau85pzVb1s7wpcjo6.jpg
然后我到相应的文件夹下查看,没有任何文件生成。请问我是哪一步做错了吗?
我发现是VPN的问题。。不好意思
稍微看了下API,这两个metadata应该会返回,如果贵工具能提取出来从而允许用户加到文件名中就完美了
多谢!
Issue
这个项目作者一直没有回复..希望能支持一下。。过十天后小姐姐资源就没有了!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.