Tele5: Download fails, [Nexx] "Unable to download JSON metadata"
See original GitHub issueChecklist
- I’m reporting a broken site support issue
- I’ve verified that I’m running youtube-dl version 2020.03.24
- 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 bug reports including closed ones
- I’ve read bugs section in FAQ
Verbose log
Version 2020.03.24
youtube-dl -f bestvideo+bestaudio https://www.tele5.de/filme/schlefaz-sharknado-5-2/ --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-f', 'bestvideo+bestaudio', 'https://www.tele5.de/filme/schlefaz-sharknado-5-2/', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.03.24
[debug] Python version 3.7.3 (CPython) - Linux-4.19.97-v7l+-armv7l-with-debian-10.3
[debug] exe versions: ffmpeg 4.1.4-1, ffprobe 4.1.4-1, phantomjs ., rtmpdump 2.4
[debug] Proxy map: {}
[Tele5] schlefaz-sharknado-5-2: Downloading webpage
ERROR: Unable to extract video id; 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 "/usr/local/lib/python3.7/dist-packages/youtube_dl/YoutubeDL.py", line 797, in extract_info
ie_result = ie.extract(url)
File "/usr/local/lib/python3.7/dist-packages/youtube_dl/extractor/common.py", line 530, in extract
ie_result = self._real_extract(url)
File "/usr/local/lib/python3.7/dist-packages/youtube_dl/extractor/tele5.py", line 53, in _real_extract
r'\bdata-id\s*=\s*["\'](\d{6,})'), webpage, 'video id')
File "/usr/local/lib/python3.7/dist-packages/youtube_dl/extractor/common.py", line 1014, in _html_search_regex
res = self._search_regex(pattern, string, name, default, fatal, flags, group)
File "/usr/local/lib/python3.7/dist-packages/youtube_dl/extractor/common.py", line 1005, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract video id; 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.
Version 2020.03.24 with Update-Code 2020.04.05 (issue case: #24553 )
youtube-dl -f bestvideo+bestaudio https://www.tele5.de/filme/schlefaz-sharknado-5-2/ --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-f', 'bestvideo+bestaudio', 'https://www.tele5.de/filme/schlefaz-sharknado-5-2/', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.03.24
[debug] Python version 3.7.3 (CPython) - Linux-4.19.97-v7l+-armv7l-with-debian-10.3
[debug] exe versions: ffmpeg 4.1.4-1, ffprobe 4.1.4-1, phantomjs ., rtmpdump 2.4
[debug] Proxy map: {}
[Tele5] schlefaz-sharknado-5-2: Downloading webpage
[Tele5] schlefaz-sharknado-5-2: Downloading JSON metadata
[Nexx] 1612871: Downloading JSON metadata
[Nexx] 1612871: Downloading session/init JSON
[Nexx] 1612871: Downloading videos/byid/1612871 JSON
ERROR: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not 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.
File "/home/pi/.local/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 627, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/home/pi/.local/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 2238, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python3.7/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python3.7/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
result = func(*args)
File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
Description
Hi, i had the same issue described in case #24553, so i updated the python-code. The error “Unable to extract video id” is no longer occurring, but now there is another error when I try to use the program on this page: https://www.tele5.de/filme/schlefaz-sharknado-5-2/
Please tell me, if you need more data to verify the problem. I’m new here on GitHub.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:10
Top Results From Across the Web
Help with error "Unable to download JSON metadata"
Unfortunately nothing has been useful. I am attempting to download an episode from Paramount+.
Read more >youtube-dl/ChangeLog at master
[pornhub] Extract metadata from JSON-LD (#26614) ... [downloader/http] Finish downloading once received data length matches. expected.
Read more >youtube-dl Version History
Complete Version history / Release notes / Changelog / What's New for youtube-dl. youtube-dl 2021.12.17. Core [postprocessor/ffmpeg] Show ffmpeg output on error ......
Read more >youtube-dl 2021.06.06 - Fresh FOSS
youtube-dl is a small command-line tool to download videos. While it originally and still is used for YouTube.com, it supports many other video...
Read more >Untitled
Dooriyan song download free, 2010 columbia dr richardson tx 75081, ... 3d photo app iphone, Old english graffiti, Anemia heart failure symptoms, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I can confirm this issue. Even if the prior fix to #24553 works for some videos, this one does yield the described error.
For example, having
youtube-dl
release2020.03.24
installed, runningyoutube-dl https://www.tele5.de/filme/boy-culture/
yields the id extraction error reporteded in #24553. But if igit clone https://github.com/ytdl-org/youtube-dl && cd youtube-dl
, followed bypython -m youtube_dl --verbose https://www.tele5.de/filme/boy-culture/
this starts a successful download. However, runningpython -m youtube_dl --verbose https://www.tele5.de/filme/schlefaz-sharknado-5-2/
immediatley after, yields the 404 error and log as reported by OP.Issue fixed here: https://github.com/FliegendeWurst/youtube-dl/tree/fix-tele5-again I’ll open a PR soon.
When downloading a single episode of a series,
--no-playlist
has to be used since the default appears to be--yes-playlist
.