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.tv kino support broken #7199

Closed
pieska opened this issue Oct 16, 2015 · 2 comments
Closed

spiegel.tv kino support broken #7199

pieska opened this issue Oct 16, 2015 · 2 comments

Comments

@pieska
Copy link

@pieska pieska commented Oct 16, 2015

youtube-dl 2015.10.13 fails downloading http://www.spiegel.tv/filme/alleskino-il-futuro with

[http @ 0x2451820] inflate return value: -3, incorrect header check
Last message repeated 15 times
http://m3u8.schneevonmorgen.com/schnee_vod/_definst_/mp4:902d9b99859e46ff9defb39608583e78_spiegeltv_0500_16x9.m4v/playlist.m3u8: Invalid data found when processing input

the ffmpeg call:

ffmpeg -y -headers 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,;q=0.7
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,
/*;q=0.8
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/20.0 (Chrome)
' -i http://m3u8.schneevonmorgen.com/schnee_vod/_definst_/mp4:902d9b99859e46ff9defb39608583e78_spiegeltv_0500_16x9.m4v/playlist.m3u8 -f mp4 -c copy -bsf:a aac_adtstoasc 'file:NA-Il Futuro.m4v.part'

the download works if i remove removing the headers from the call:

ffmpeg -y -i http://m3u8.schneevonmorgen.com/schnee_vod/_definst_/mp4:902d9b99859e46ff9defb39608583e78_spiegeltv_0500_16x9.m4v/playlist.m3u8 -f mp4 -c copy -bsf:a aac_adtstoasc 'file:NA-Il Futuro.m4v.part'

i haven't figured out, which header is wrong.

@pieska
Copy link
Author

@pieska pieska commented Oct 30, 2015

The server rejects the "User-Agent" header. This doesn't work:

ffmpeg -y -headers 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,;q=0.7
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,
/*;q=0.8
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/20.0 (Chrome)
' -i http://m3u8.schneevonmorgen.com/schnee_vod/_definst_/mp4:9c5e2677bdcb4f5c86c8472fa19000da_spiegeltv_0500_16x9.m4v/playlist.m3u8 -f mp4 -c copy -bsf:a aac_adtstoasc 'file:test.mp4'

but without User-Agent, it works:

ffmpeg -y -headers 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,;q=0.7
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,
/*;q=0.8
' -i http://m3u8.schneevonmorgen.com/schnee_vod/_definst_/mp4:9c5e2677bdcb4f5c86c8472fa19000da_spiegeltv_0500_16x9.m4v/playlist.m3u8 -f mp4 -c copy -bsf:a aac_adtstoasc 'file:test.mp4'

@pieska
Copy link
Author

@pieska pieska commented Nov 6, 2015

Today I tried a download with 2015.11.02:

ffmpeg -y -headers 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,;q=0.7
Accept-Language: en-us,en;q=0.5
Accept-Encoding: deflate
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,
/*;q=0.8
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/20.0 (Chrome)
'

and it worked. The changed headers have solved the issue, thanks.

@dstftw dstftw closed this Nov 6, 2015
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
2 participants
You can’t perform that action at this time.