You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've verified and I assure that I'm running youtube-dl 2016.11.08.1
I at least skimmed through README and most notablyFAQ and BUGS sections
I searched the bugtracker for similar issues including closed ones
What is the purpose of my issue?
[x ] Question
My favorite IPTV provider zattoo.com recently switched their streaming technology from Adobe HDS to MPEG-DASH. You can only access their content through a valid subscription (which is free) and an IP from one of the following countries: Switzerland, Germany, Spain, Denmark, UK. I used to start a video in the browser, pause it but leave the window open. That would create an authentication token and keep it valid, so I could download the HDS fragments from the command line using an external script.
Now that there is DASH implemented, I tried to use youtube-dl with the manifest URL:
> youtube-dl -v -f bestvideo+bestaudio http://zh2-2-dash-pvr.zahs.tv/HD_ard/1477757760/1477759800/manifest.mpd?z32=OVZWK4S7NFSD2MZUGUZTENZUEZWWS3TSMF2GKPJWGAYCM3LBPBZGC5DFHUYCM43JM46WMOBXMJSTEY3BGRSDMYJYGZRDCZJTMYYWKMZRGMZTONBUHAYDKOJGMNZWSZB5GE2DQNRWHFBEMNKDGRDDMM2CIEWTOMBVGNCECMKDHBATGRCFIRCTCJTJNZUXI2LBNRZGC5DFHUYA
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', '-f', 'bestvideo+bestaudio', 'http://zh2-2-dash-pvr.zahs.tv/HD_ard/1477757760/1477759800/manifest.mpd?z32=OVZWK4S7NFSD2MZUGUZTENZUEZWWS3TSMF2GKPJWGAYCM3LBPBZGC5DFHUYCM43JM46WMOBXMJSTEY3BGRSDMYJYGZRDCZJTMYYWKMZRGMZTONBUHAYDKOJGMNZWSZB5GE2DQNRWHFBEMNKDGRDDMM2CIEWTOMBVGNCECMKDHBATGRCFIRCTCJTJNZUXI2LBNRZGC5DFHUYA']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2016.11.08.1
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-74054-gb16b8c8, ffprobe N-74054-gb16b8c8
[debug] Proxy map: {}
[generic] manifest: Requesting header
WARNING: Falling back on generic information extractor.
[generic] manifest: Downloading webpage
[generic] manifest: Extracting information
Traceback (most recent call last):
File "__main__.py", line 19, in <module>
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpee_sdt7t\build\youtube_dl\__init__.py", line 445, in main
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpee_sdt7t\build\youtube_dl\__init__.py", line 435, in _real_main
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpee_sdt7t\build\youtube_dl\YoutubeDL.py", line 1791, in download
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpee_sdt7t\build\youtube_dl\YoutubeDL.py", line 694, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpee_sdt7t\build\youtube_dl\extractor\common.py", line 357, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpee_sdt7t\build\youtube_dl\extractor\generic.py", line 1653, in _real_extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpee_sdt7t\build\youtube_dl\extractor\common.py", line 1735, in _parse_mpd_formats
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpee_sdt7t\build\youtube_dl\extractor\common.py", line 1725, in add_segment_url
TypeError: %d format: a number is required, not str
For comparison I also tried it without the auth token:
> youtube-dl -v -f bestvideo+bestaudio http://zh2-2-dash-pvr.zahs.tv/HD_ard/1477757760/1477759800/manifest.mpd
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', '-f', 'bestvideo+bestaudio', 'http://zh2-2-dash-pvr.zahs.tv/HD_ard/1477757760/1477759800/manifest.mpd']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2016.11.08.1
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-74054-gb16b8c8, ffprobe N-74054-gb16b8c8
[debug] Proxy map: {}
[generic] manifest: Requesting header
WARNING: Could not send HEAD request to http://zh2-2-dash-pvr.zahs.tv/HD_ard/1477757760/1477759800/manifest.mpd: HTTP Error 401: Unauthorized
[generic] manifest: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 401: Unauthorized (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpee_sdt7t\build\youtube_dl\extractor\common.py", line 404, in _request_webpage
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpee_sdt7t\build\youtube_dl\YoutubeDL.py", line 2001, in urlopen
File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default
I am pretty sure that a download should be possible. Could you please tell me what I am doing wrong?
The text was updated successfully, but these errors were encountered:
What is the purpose of my issue?
My favorite IPTV provider zattoo.com recently switched their streaming technology from Adobe HDS to MPEG-DASH. You can only access their content through a valid subscription (which is free) and an IP from one of the following countries: Switzerland, Germany, Spain, Denmark, UK. I used to start a video in the browser, pause it but leave the window open. That would create an authentication token and keep it valid, so I could download the HDS fragments from the command line using an external script.
Now that there is DASH implemented, I tried to use youtube-dl with the manifest URL:
That is what the manifest looks like:
For comparison I also tried it without the auth token:
I am pretty sure that a download should be possible. Could you please tell me what I am doing wrong?
The text was updated successfully, but these errors were encountered: