Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

script no longer pulling down videos #105

Open
doodie opened this issue Oct 3, 2018 · 5 comments
Open

script no longer pulling down videos #105

doodie opened this issue Oct 3, 2018 · 5 comments
Labels
waiting for reply Blocked until further information

Comments

@doodie
Copy link

doodie commented Oct 3, 2018

hi,

any thoughts on why videos would stop downloading? the backup just references the tumblr url for the video. seems like like the last successful download of a video was late august. i did just update youtube-dl the other day but have had many videos since late august.

[root@superbrain posts]# youtube-dl --version
2018.09.26

I can confirm that running youtube-dl video_url does work from cli.

Thoughts or suggestions?

@bbolli
Copy link
Owner

bbolli commented Oct 3, 2018

No, sadly I myself don't use the video option. Do you get any errors?

@doodie
Copy link
Author

doodie commented Oct 3, 2018

i need to do more troubleshooting. but from what i see so far, no errors.

@doodie
Copy link
Author

doodie commented Oct 4, 2018

This is what I have figured out. I have been using this script for close to 2 years with no problems. I think something may have changed in August some time with Tumblr as that was when it stopped working.

So I have no problems downloading directly with youtube-dl direct. I have rolled back to a version from March of this year.

[root@superbrain tumblr_backup]# youtube-dl --verbose https://ve.media.tumblr.com/tumblr_pg0453RP9n1uje4jx.mp4
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://ve.media.tumblr.com/tumblr_pg0453RP9n1uje4jx.mp4']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.03.03
[debug] Python version 3.4.9 (CPython) - Linux-4.16.8-1.el7.elrepo.x86_64-x86_64-with-centos-7.5.1804-Core
[debug] exe versions: none
[debug] Proxy map: {}
[generic] tumblr_pg0bu4RP9n1uje4jx: Requesting header
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on 'https://ve.media.tumblr.com/tumblr_pg0453RP9n1uje4jx.mp4'
[download] Destination: tumblr_pg0453RP9n1uje4jx.mp4-tumblr_pg0453RP9n1uje4jx.mp4.mp4
[download] 100% of 17.63MiB in 00:00

Downloaded fine.

I then started to read your documentation and there was an option, -T type. I used video and it didnt back up anything.

[root@superbrain tumblr_backup]# /mnt/data02/backups/tumblr_backup/tumblr_backup.py -i --save-video -T video blog.tumblr.com blog.tumblr.com: 0 posts backed up

I created a bunch of test video posts to work through this, so even thought I am using -i, there are new posts. How is the script determining type? I suck at python so not able to understand how it is called. Any other info I can provide to help troubleshoot?

Anyone else having this issue?

@bbolli
Copy link
Owner

bbolli commented Oct 4, 2018

I created a bunch of test video posts to work through this, so even thought I am using -i, there are new posts. How is the script determining type? I suck at python so not able to understand how it is called. Any other info I can provide to help troubleshoot?

The JSON returned from Tumblr's API has a type field. the -T option just filters on this field.

More generally: this script and youtube-dl is very much at the mercy of the content providers (a.k.a. silos). They can change any one of a hundred small details and the download will fail. Maybe they started checking the referrer when getting the video, maybe something else, who knows?

@cebtenzzre cebtenzzre added the waiting for reply Blocked until further information label Aug 31, 2020
@cebtenzzre
Copy link
Collaborator

@doodie Can you reproduce this with latest tumblr-utils and youtube-dl module? If so, is there a blog we could test with? Tumblr has been known to lose videos, but if they show fine in a browser and aren't being backed up, that's a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for reply Blocked until further information
Projects
None yet
Development

No branches or pull requests

3 participants