Comments (9)
You can delete those broken files manually and rerun the tool.
Don't worry for redoing 802 times downloading. By default, tool will skip existing files.
Failed-and-remove function has already been added to the tool
commit f186381e07e216cb02c407d80a435b287f966554 ------ fix bugs: check before remove #22
weiboPicDownloader.py #L204
If you don't do keyboardinterrupt (Ctrl + C) before #21, this error will not occur.
May be the resource itself is broken 😓
from weibopicdownloader.
ty
so we dont have archive option to store downloaded urls ?
from weibopicdownloader.
yes.
but easy for you to do it yourself,
just add output function after weiboPicDownloader.py#L255 like
with open(your_path, "w") as f:
f.write('\n'.join(urls))
from weibopicdownloader.
thank
- some weibo user have 1k+ pics, is there have anyway to detect corrupt file fastest and automatic ?
- so, i just rerun the tool after delete corrupt files, files still corrupted. I think it would great if we have ability to export only jpg,gif,video directlink into output txt file, so i can use wget or other tool to download it and prevent corrupted files
from weibopicdownloader.
for detection, refer to this How to check if a file is a valid image file? on stackoverflow
from weibopicdownloader.
Thank
so it can't export urls ? because when i'm trying to open corrupted picture url, it load very slow and timeout when loading, but if i run it again in 4 or 6 hours after that, it will load pretty fast.
I think it should limit simultaneous download at 1 or 2 to prevent overload, it will slower but prevent corrupted picture
from weibopicdownloader.
yes, do it youself, just two line
i concern if i add the export option, someone will complain, why it not support to resume from break point, it has already generated a list, then i have to pay more to maintain a download queue ...
option -s
for concurrency limitation, just set -s 2
as you want
from weibopicdownloader.
do we have option to download from specific date ?
eg : 01/Jan/2018 to 01/Feb/2018
thank
from weibopicdownloader.
from weibopicdownloader.
Related Issues (20)
- Can we save images with Date? HOT 5
- Feature request: download by latest successful try HOT 7
- Support date format for boundary option HOT 2
- cant download as date HOT 1
- 每次下载都下不完全 HOT 6
- Logic of platform.version() >= '10.0.14393' is wrong HOT 1
- Download media by keywords HOT 5
- Can`t download the latest photos. HOT 1
- Hi, i got some questions HOT 3
- Adding feature of pulling image/video from a specific date on HOT 8
- Adding at most 18 images support for single blog HOT 7
- Support more than 9 pictures HOT 3
- [Feature Request] Option to download videos only HOT 1
- 请问一下,可以按发微博的日期来爬取吗? HOT 4
- 部分微博不登录无法查看 HOT 1
- As a result of using it, it seems that I cannot get the 'date' value.
- weibo created_at format changed and should be adapted HOT 1
- Weibo changed their UI and the tool can't work anymore
- Friends whose size is 0 after the picture is downloaded look at it HOT 1
- My downloaded photo can't be open due to its little size HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weibopicdownloader.