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

[spiegel] Some URLs aren't extracted properly anymore #4579

Closed
eliasp opened this issue Dec 27, 2014 · 3 comments
Closed

[spiegel] Some URLs aren't extracted properly anymore #4579

eliasp opened this issue Dec 27, 2014 · 3 comments

Comments

@eliasp
Copy link
Contributor

@eliasp eliasp commented Dec 27, 2014

The URL following URL:
http://www.spiegel.de/video/neu-im-kino-mit-exodus-honig-im-kopf-und-entdeckung-der-unendlichkeit-video-1543886.html
should return the URL:
http://video2.spiegel.de/flash/68/83/1543886_1024x576_H264_HQ.mp4
but returns instead:
http://video2.spiegel.de/flash/68/83/1543886_1920x1080_HD.mp4

The document source contains this JS variables which contains some of the information required to stitch the correct URL together:

                var credit                      = "SPIEGEL ONLINE";
                var displaycat          = "5";
                var videocat            = "44";
                var trackingsize        = "gross";
                var startmod            = "true";
                var server                      = "http://video2.spiegel.de/flash/68/83/";
                var embedWidth          = 640;
                var embedHeight         = 360;

The call to the spStartVideo5() function contains the remaining stuff:

spStartVideo5(1543886, '1543886_1024x576_H264_HQ.mp4', 'oldVideo3', poster, prerollGateway, postrollGateway, 1, credit, displaycat, videocat, server, trackingsize, startmod, 'onAdStart', 'onAdEnd', 'onVideoEnd', 'onFinalEnd', embedWidth, embedHeight);
@phihag
Copy link
Contributor

@phihag phihag commented Jan 10, 2015

You're simply citing format 19, while youtube-dl picks format 26. The question is why that format is mentioned in Spiegel's index file, but not actually available.

@dstftw dstftw closed this in e92d4a1 Jan 14, 2015
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 14, 2015

This issue will be fixed in the next version. Thanks for the report.

@phihag
Copy link
Contributor

@phihag phihag commented Jan 16, 2015

Fixed in youtube-dl 2015.01.15.1 and newer. See our FAQ if you need help updating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.