ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
131.32k stars 9.95k forks source link

[tele5] Unable to extract jwplatform id #30720

Open nosunn opened 2 years ago

nosunn commented 2 years ago

Getting an error on the tele5 site. ERROR: Unable to extract jwplatform id;

youtube_dl/extractor/common.py", line 1021, in _html_search_regex res = self._search_regex(pattern, string, name, default, fatal, flags, group)

youtube_dl/extractor/common.py", line 1012, in _search_regex raise RegexNotFoundError('Unable to extract %s' % _name)

URL: https://tele5.de/mediathek/predestination/

dirkf commented 2 years ago

Duplicate, fixed in git master (PR #30532 merged).

nanderer commented 2 years ago

The problem still exists which makes tele5 streaming impossible:

$ ytdl https://tele5.de/mediathek/aftershock-die-hoelle-nach-dem-beben/
^A[Tele5] aftershock-die-hoelle-nach-dem-beben: Downloading webpage
 ERROR: Unable to extract jwplatform id; 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.
$ youtube-dl -U
youtube-dl is up-to-date (2021.12.17)
$ youtube-dl --verbose https://tele5.de/mediathek/aftershock-die-hoelle-nach-dem-beben
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://tele5.de/mediathek/aftershock-die-hoelle-nach-dem-beben']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 2.7.16 (CPython) - Linux-4.19.0-16-amd64-x86_64-with-debian-10.9
[debug] exe versions: ffmpeg 4.1.6-1, ffprobe 4.1.6-1, phantomjs ., rtmpdump 2.4
[debug] Proxy map: {}
[debug] Using fake IP 53.224.247.242 (DE) as X-Forwarded-For.
[Tele5] aftershock-die-hoelle-nach-dem-beben: Downloading webpage
ERROR: Unable to extract jwplatform id; 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.
Traceback (most recent call last):
  File "$HOME/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "$HOME/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "$HOME/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "$HOME/bin/youtube-dl/youtube_dl/extractor/tele5.py", line 102, in _real_extract
    jwplatform_id = extract_id(JWPLATFORM_ID_RE, 'jwplatform id')
  File "$HOME/bin/youtube-dl/youtube_dl/extractor/tele5.py", line 95, in extract_id
    default=default)
  File "$HOME/bin/youtube-dl/youtube_dl/extractor/common.py", line 1021, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "$HOME/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract jwplatform id; 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.

$