Tele5 support doesn't work anymore. #25700

Open
opened 2026-02-21 13:55:18 -05:00 by deekerman · 2 comments
Owner

Originally created by @hjschmidt99 on GitHub (Jan 30, 2023).

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2021.12.17
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

youtube-dl.exe --verbose --ffmpeg-location "D:\Programme\ffmpeg\bin\ffmpeg.exe" -o "El Dorado - Der Tempel der Sonne" -f bestvideo+bestaudio "https://tele5.de/mediathek/el-dorado-der-tempel-der-sonne/"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '--ffmpeg-location', 'D:\\Programme\\ffmpeg\\bin\\ffmpeg.exe', '-o', 'El Dorado - Der Tempel der Sonne', '-f', 'bestvideo+bestaudio', 'https://tele5.de/mediathek/el-dorado-der-tempel-der-sonne/']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.8.3 (CPython) - Windows-10-10.0.19041-SP0
[debug] exe versions: ffmpeg 2022-04-25-git-f2724d2b69-full_build-www.gyan.dev, ffprobe 2022-04-25-git-f2724d2b69-full_build-www.gyan.dev
[debug] Proxy map: {}
[debug] Using fake IP 53.205.124.102 (DE) as X-Forwarded-For.
[Tele5] el-dorado-der-tempel-der-sonne: Downloading webpage
[Tele5] 4102908: Downloading token
[Tele5] 4102908: Downloading JSON metadata
[Tele5] 4102908: Downloading JSON metadata
[Tele5] 4102908: Downloading MPD manifest
WARNING: [Tele5] Unknown MIME type image/jpeg in DASH manifest
[Tele5] 4102908: Downloading m3u8 information
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "c:\users\hjs1\appdata\local\programs\python\python38\lib\site-packages\youtube_dl\YoutubeDL.py", line 816, in wrapper
    return func(self, *args, **kwargs)
  File "c:\users\hjs1\appdata\local\programs\python\python38\lib\site-packages\youtube_dl\YoutubeDL.py", line 837, in __extract_info
    ie_result = ie.extract(url)
  File "c:\users\hjs1\appdata\local\programs\python\python38\lib\site-packages\youtube_dl\extractor\common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "c:\users\hjs1\appdata\local\programs\python\python38\lib\site-packages\youtube_dl\extractor\tele5.py", line 88, in _real_extract
    return self._get_disco_api_info(url, asset_id, endpoint, realm, country)
  File "c:\users\hjs1\appdata\local\programs\python\python38\lib\site-packages\youtube_dl\extractor\dplay.py", line 244, in _get_disco_api_info
    self._sort_formats(formats)
  File "c:\users\hjs1\appdata\local\programs\python\python38\lib\site-packages\youtube_dl\extractor\common.py", line 1374, in _sort_formats
    raise ExtractorError('No video formats found')
youtube_dl.utils.ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

Tele5 (https://tele5.de/mediathek/) support doesn't work anymore.
A file that I could download successfully 10 days ago now also shows this error.
AFAIK ytdl handles Tele5 like other sites from the Discovery family.
DRM related problems caused "ERROR: Missing deviceId in context" (and still do), so I guess it's something else...

Originally created by @hjschmidt99 on GitHub (Jan 30, 2023). <!-- ###################################################################### WARNING! IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE ###################################################################### --> ## Checklist <!-- Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl: - First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2021.12.17. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED. - Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser. - Make sure that all URLs and arguments with special characters are properly quoted or escaped as explained in http://yt-dl.org/escape. - Search the bugtracker for similar issues: http://yt-dl.org/search-issues. DO NOT post duplicates. - Finally, put x into all relevant boxes (like this [x]) --> - [x] I'm reporting a broken site support - [x] I've verified that I'm running youtube-dl version **2021.12.17** - [x] I've checked that all provided URLs are alive and playable in a browser - [x] I've checked that all URLs and arguments with special characters are properly quoted or escaped - [x] I've searched the bugtracker for similar issues including closed ones ## Verbose log <!-- Provide the complete verbose output of youtube-dl that clearly demonstrates the problem. Add the `-v` flag to your command line you run youtube-dl with (`youtube-dl -v <your command line>`), copy the WHOLE output and insert it below. It should look similar to this: [debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj'] [debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251 [debug] youtube-dl version 2021.12.17 [debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2 [debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4 [debug] Proxy map: {} <more lines> --> ``` youtube-dl.exe --verbose --ffmpeg-location "D:\Programme\ffmpeg\bin\ffmpeg.exe" -o "El Dorado - Der Tempel der Sonne" -f bestvideo+bestaudio "https://tele5.de/mediathek/el-dorado-der-tempel-der-sonne/" [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', '--ffmpeg-location', 'D:\\Programme\\ffmpeg\\bin\\ffmpeg.exe', '-o', 'El Dorado - Der Tempel der Sonne', '-f', 'bestvideo+bestaudio', 'https://tele5.de/mediathek/el-dorado-der-tempel-der-sonne/'] [debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252 [debug] youtube-dl version 2021.12.17 [debug] Python version 3.8.3 (CPython) - Windows-10-10.0.19041-SP0 [debug] exe versions: ffmpeg 2022-04-25-git-f2724d2b69-full_build-www.gyan.dev, ffprobe 2022-04-25-git-f2724d2b69-full_build-www.gyan.dev [debug] Proxy map: {} [debug] Using fake IP 53.205.124.102 (DE) as X-Forwarded-For. [Tele5] el-dorado-der-tempel-der-sonne: Downloading webpage [Tele5] 4102908: Downloading token [Tele5] 4102908: Downloading JSON metadata [Tele5] 4102908: Downloading JSON metadata [Tele5] 4102908: Downloading MPD manifest WARNING: [Tele5] Unknown MIME type image/jpeg in DASH manifest [Tele5] 4102908: Downloading m3u8 information ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. Traceback (most recent call last): File "c:\users\hjs1\appdata\local\programs\python\python38\lib\site-packages\youtube_dl\YoutubeDL.py", line 816, in wrapper return func(self, *args, **kwargs) File "c:\users\hjs1\appdata\local\programs\python\python38\lib\site-packages\youtube_dl\YoutubeDL.py", line 837, in __extract_info ie_result = ie.extract(url) File "c:\users\hjs1\appdata\local\programs\python\python38\lib\site-packages\youtube_dl\extractor\common.py", line 534, in extract ie_result = self._real_extract(url) File "c:\users\hjs1\appdata\local\programs\python\python38\lib\site-packages\youtube_dl\extractor\tele5.py", line 88, in _real_extract return self._get_disco_api_info(url, asset_id, endpoint, realm, country) File "c:\users\hjs1\appdata\local\programs\python\python38\lib\site-packages\youtube_dl\extractor\dplay.py", line 244, in _get_disco_api_info self._sort_formats(formats) File "c:\users\hjs1\appdata\local\programs\python\python38\lib\site-packages\youtube_dl\extractor\common.py", line 1374, in _sort_formats raise ExtractorError('No video formats found') youtube_dl.utils.ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. ``` ## Description <!-- Provide an explanation of your issue in an arbitrary form. Provide any additional information, suggested solution and as much context and examples as possible. If work on your issue requires account credentials please provide them or explain how one can obtain them. --> Tele5 (https://tele5.de/mediathek/) support doesn't work anymore. A file that I could download successfully 10 days ago now also shows this error. AFAIK ytdl handles Tele5 like other sites from the Discovery family. DRM related problems caused "ERROR: Missing deviceId in context" (and still do), so I guess it's something else...
Author
Owner

@dirkf commented on GitHub (Jan 30, 2023):

Unfortunately not. These are your manifests as returned by the Discovery API:

[{'type': 'dash',
  'url': 'https://dplaydk-prod-vod.akamaized.net/b71b98e1-34aa-4d37-9a3b-90af6e2a49f0/dash_widevinePlayready_fmp4/hdntl=exp=1675180191~acl=/b71b98e1-34aa-4d37-9a3b-90af6e2a49f0/dash_widevinePlayready_fmp4/*~data=hdntl~hmac=de473f28bfb3adbb06646783e40c3058399408bb69b60bcb93f918a636851b82/master.mpd'},
 {'type': 'hls',
  'url': 'https://dplaydk-prod-vod.akamaized.net/b71b98e1-34aa-4d37-9a3b-90af6e2a49f0/hls_fairPlay_ts/hdntl=exp=1675180191~acl=/b71b98e1-34aa-4d37-9a3b-90af6e2a49f0/hls_fairPlay_ts/*~data=hdntl~hmac=46ed2c3203ed5f988afafe1f78e2dc2bcda2e71aaddb5e42a103b2515281d1f9/master.m3u8'}]

The presence of widevine and fairPlay in the URLs indicates DRM.

After this patch:

--- old/youtube_dl/extractor/dplay.py
+++ new/youtube_dl/extractor/dplay.py
@@ -213,6 +213,7 @@
         info = video['data']['attributes']
         title = info['name'].strip()
         formats = []
+        drm = 0
         try:
             streaming = self._download_video_playback_info(
                 disco_base, video_id, headers)
@@ -226,6 +227,8 @@
             format_url = format_dict.get('url')
             if not format_url:
                 continue
+            if any(bastardy in format_url for bastardy in ('widevine', 'fairPlay')):
+                drm += 1
             format_id = format_dict.get('type')
             ext = determine_ext(format_url)
             if format_id == 'dash' or ext == 'mpd':
@@ -241,6 +244,8 @@
                     'url': format_url,
                     'format_id': format_id,
                 })
+        if drm > 0 and not formats:
+            raise ExtractorError('No formats without DRM were found', expected=True)
         self._sort_formats(formats)
 
         creator = series = None

Then

$ python -m youtube_dl -v -F 'https://tele5.de/mediathek/el-dorado-der-tempel-der-sonne/'
[debug] System config: [u'--prefer-ffmpeg']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-F', u'https://tele5.de/mediathek/el-dorado-der-tempel-der-sonne/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Git HEAD: 774b346f9
[debug] Python version 2.7.18 (CPython) - Linux-4.4.0-210-generic-i686-with-Ubuntu-16.04-xenial
[debug] exe versions: avconv 4.3, avprobe 4.3, ffmpeg 4.3, ffprobe 4.3
[debug] Proxy map: {}
[debug] Using fake IP 53.155.119.178 (DE) as X-Forwarded-For.
[Tele5] el-dorado-der-tempel-der-sonne: Downloading webpage
[Tele5] 4102908: Downloading token
[Tele5] 4102908: Downloading JSON metadata
[Tele5] 4102908: Downloading JSON metadata
[Tele5] 4102908: Downloading MPD manifest
WARNING: [Tele5] Unknown MIME type image/jpeg in DASH manifest
[Tele5] 4102908: Downloading m3u8 information
ERROR: No formats without DRM were found
Traceback (most recent call last):
  File "youtube_dl/YoutubeDL.py", line 832, in wrapper
    return func(self, *args, **kwargs)
  File "youtube_dl/YoutubeDL.py", line 853, in __extract_info
    ie_result = ie.extract(url)
  File "youtube_dl/extractor/common.py", line 539, in extract
    ie_result = self._real_extract(url)
  File "youtube_dl/extractor/tele5.py", line 88, in _real_extract
    return self._get_disco_api_info(url, asset_id, endpoint, realm, country)
  File "youtube_dl/extractor/dplay.py", line 248, in _get_disco_api_info
    raise ExtractorError('No formats without DRM were found', expected=True)
ExtractorError: No formats without DRM were found

$
@dirkf commented on GitHub (Jan 30, 2023): Unfortunately not. These are your manifests as returned by the Discovery API: ```py [{'type': 'dash', 'url': 'https://dplaydk-prod-vod.akamaized.net/b71b98e1-34aa-4d37-9a3b-90af6e2a49f0/dash_widevinePlayready_fmp4/hdntl=exp=1675180191~acl=/b71b98e1-34aa-4d37-9a3b-90af6e2a49f0/dash_widevinePlayready_fmp4/*~data=hdntl~hmac=de473f28bfb3adbb06646783e40c3058399408bb69b60bcb93f918a636851b82/master.mpd'}, {'type': 'hls', 'url': 'https://dplaydk-prod-vod.akamaized.net/b71b98e1-34aa-4d37-9a3b-90af6e2a49f0/hls_fairPlay_ts/hdntl=exp=1675180191~acl=/b71b98e1-34aa-4d37-9a3b-90af6e2a49f0/hls_fairPlay_ts/*~data=hdntl~hmac=46ed2c3203ed5f988afafe1f78e2dc2bcda2e71aaddb5e42a103b2515281d1f9/master.m3u8'}] ``` The presence of `widevine` and `fairPlay` in the URLs indicates DRM. After this patch: ```diff --- old/youtube_dl/extractor/dplay.py +++ new/youtube_dl/extractor/dplay.py @@ -213,6 +213,7 @@ info = video['data']['attributes'] title = info['name'].strip() formats = [] + drm = 0 try: streaming = self._download_video_playback_info( disco_base, video_id, headers) @@ -226,6 +227,8 @@ format_url = format_dict.get('url') if not format_url: continue + if any(bastardy in format_url for bastardy in ('widevine', 'fairPlay')): + drm += 1 format_id = format_dict.get('type') ext = determine_ext(format_url) if format_id == 'dash' or ext == 'mpd': @@ -241,6 +244,8 @@ 'url': format_url, 'format_id': format_id, }) + if drm > 0 and not formats: + raise ExtractorError('No formats without DRM were found', expected=True) self._sort_formats(formats) creator = series = None ``` Then ```shellsession $ python -m youtube_dl -v -F 'https://tele5.de/mediathek/el-dorado-der-tempel-der-sonne/' [debug] System config: [u'--prefer-ffmpeg'] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: [u'-v', u'-F', u'https://tele5.de/mediathek/el-dorado-der-tempel-der-sonne/'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2021.12.17 [debug] Git HEAD: 774b346f9 [debug] Python version 2.7.18 (CPython) - Linux-4.4.0-210-generic-i686-with-Ubuntu-16.04-xenial [debug] exe versions: avconv 4.3, avprobe 4.3, ffmpeg 4.3, ffprobe 4.3 [debug] Proxy map: {} [debug] Using fake IP 53.155.119.178 (DE) as X-Forwarded-For. [Tele5] el-dorado-der-tempel-der-sonne: Downloading webpage [Tele5] 4102908: Downloading token [Tele5] 4102908: Downloading JSON metadata [Tele5] 4102908: Downloading JSON metadata [Tele5] 4102908: Downloading MPD manifest WARNING: [Tele5] Unknown MIME type image/jpeg in DASH manifest [Tele5] 4102908: Downloading m3u8 information ERROR: No formats without DRM were found Traceback (most recent call last): File "youtube_dl/YoutubeDL.py", line 832, in wrapper return func(self, *args, **kwargs) File "youtube_dl/YoutubeDL.py", line 853, in __extract_info ie_result = ie.extract(url) File "youtube_dl/extractor/common.py", line 539, in extract ie_result = self._real_extract(url) File "youtube_dl/extractor/tele5.py", line 88, in _real_extract return self._get_disco_api_info(url, asset_id, endpoint, realm, country) File "youtube_dl/extractor/dplay.py", line 248, in _get_disco_api_info raise ExtractorError('No formats without DRM were found', expected=True) ExtractorError: No formats without DRM were found $ ```
Author
Owner

@dirkf commented on GitHub (Apr 5, 2023):

The site is now offering a JS single-page app that is completely unsupported by the existing extractor. Time to set _WORKING = False.

@dirkf commented on GitHub (Apr 5, 2023): The site is now offering a JS single-page app that is completely unsupported by the existing extractor. Time to set `_WORKING = False`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#25700
No description provided.