bbolli / tumblr-utils

Utilities for dealing with Tumblr blogs, Tumblr backup
GNU General Public License v3.0
668 stars 124 forks source link

Problem with --save-video #97

Open fabianmueller1997 opened 7 years ago

fabianmueller1997 commented 7 years ago

Hey,

first of all, I'd like to say thank you for this great tool. It's been very handy for me. There is, however, a problem with the --save-video option: When I try to download the contents of a 'video-heavy' (NSFW) blog, I end up with lots of incomplete videos. Most of the downloaded files have a size of roughly 3 MiB which seems quite strange. As a result, the incomplete videos only play for a few seconds of their original duration. Maybe there is some sort of limit that prevents larger videos from being downloaded? Perhaps I should add that my internet connection is quite slow. Another thing I noticed was that - during the process of downloading videos - the script produces a lot of errors. I am using this version of the script with Python 3: https://github.com/bbolli/tumblr-utils/pull/96 I also installed the latest version of youtube-dl with 'pip install -U youtube-dl' The Linux distribution I am using is Manjaro i3 (17.0.6). I hope there is some sort of solution to this problem.

vxbinaca commented 6 years ago

Re-run the rips in the meantime. I'll make a PR adjusting timeouts and retries.

vxbinaca commented 6 years ago

You should use pip3 for youtube-dl, and update your tumblr-utils I believe I pushed out a fix for the failing rips around the time you made this issue. I set the failure threshold for 3000 retries which is insane but should stabilize it well.

Lyte3000 commented 6 years ago

I didn't use pip3 to install youtube-dl, but I used pip. It still doesn't download full videos

vxbinaca commented 6 years ago

Upgrade to the latest version of tumblr-utils and try again, It should have an insane timeout for videos. If that doesn't fix it try to obtain better internet.