[IMDB] Unable to download JSON metadata: HTTP Error 404: Not Found #25219

Open
opened 2026-02-21 12:25:02 -05:00 by deekerman · 16 comments
Owner

Originally created by @brunoVanDame on GitHub (May 7, 2022).

Checklist

  • I'm reporting a broken site support issue
  • 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 bug reports including closed ones
  • I've read bugs section in FAQ

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.imdb.com/video/vi2580586009']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.6.9 (CPython) - Linux-4.15.0-176-generic-x86_64-with-LinuxMint-19-tara
[debug] exe versions: ffmpeg 3.4.8, ffprobe 3.4.8
[debug] Proxy map: {}
[imdb] 2580586009: Downloading JSON metadata
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 "/usr/local/lib/python3.6/dist-packages/youtube_dl/extractor/common.py", line 634, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/lib/python3.6/dist-packages/youtube_dl/YoutubeDL.py", line 2288, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python3.6/urllib/request.py", line 532, in open
response = meth(req, response)
File "/usr/lib/python3.6/urllib/request.py", line 642, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python3.6/urllib/request.py", line 570, in error
return self._call_chain(*args)
File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain
result = func(*args)
File "/usr/lib/python3.6/urllib/request.py", line 650, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)

Description

When executing the command line :

/usr/local/bin/youtube-dl -v https://www.imdb.com/video/vi2580586009

the problem occurs.

Originally created by @brunoVanDame on GitHub (May 7, 2022). <!-- ###################################################################### 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. - Read bugs section in FAQ: http://yt-dl.org/reporting - Finally, put x into all relevant boxes (like this [x]) --> - [x] I'm reporting a broken site support issue - [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 bug reports including closed ones - [x] I've read bugs section in FAQ ## 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> --> [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-v', 'https://www.imdb.com/video/vi2580586009'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2021.12.17 [debug] Python version 3.6.9 (CPython) - Linux-4.15.0-176-generic-x86_64-with-LinuxMint-19-tara [debug] exe versions: ffmpeg 3.4.8, ffprobe 3.4.8 [debug] Proxy map: {} [imdb] 2580586009: Downloading JSON metadata 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 "/usr/local/lib/python3.6/dist-packages/youtube_dl/extractor/common.py", line 634, in _request_webpage return self._downloader.urlopen(url_or_request) File "/usr/local/lib/python3.6/dist-packages/youtube_dl/YoutubeDL.py", line 2288, in urlopen return self._opener.open(req, timeout=self._socket_timeout) File "/usr/lib/python3.6/urllib/request.py", line 532, in open response = meth(req, response) File "/usr/lib/python3.6/urllib/request.py", line 642, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python3.6/urllib/request.py", line 570, in error return self._call_chain(*args) File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain result = func(*args) File "/usr/lib/python3.6/urllib/request.py", line 650, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) ## Description <!-- Provide an explanation of your issue in an arbitrary form. Please make sure the description is worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient. 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. --> When executing the command line : /usr/local/bin/youtube-dl -v https://www.imdb.com/video/vi2580586009 the problem occurs.
Author
Owner

@dirkf commented on GitHub (May 7, 2022):

Are you using the release version or the patch from your issue #30824?

@dirkf commented on GitHub (May 7, 2022): Are you using the release version or the patch from your issue #30824?
Author
Owner

@rgoubet commented on GitHub (May 7, 2022):

Same for me:

$ youtube-dl -F --verbose https://www.arte.tv/fr/videos/100225-000-A/sagrada-familia-le-defi-de-gaudi/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-F', '--verbose', 'https://www.arte.tv/fr/videos/100225-000-A/sagrada-familia-le-defi-de-gaudi/']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.9.12 (CPython) - Linux-5.15.0-27-generic-x86_64-with-glibc2.35
[debug] exe versions: ffmpeg 4.3.2, ffprobe 4.3.2
[debug] Proxy map: {}
[ArteTV] 100225-000-A: Downloading JSON metadata
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/raphael/miniconda3/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 634, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/home/raphael/miniconda3/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 2288, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/home/raphael/miniconda3/lib/python3.9/urllib/request.py", line 523, in open
    response = meth(req, response)
  File "/home/raphael/miniconda3/lib/python3.9/urllib/request.py", line 632, in http_response
    response = self.parent.error(
  File "/home/raphael/miniconda3/lib/python3.9/urllib/request.py", line 561, in error
    return self._call_chain(*args)
  File "/home/raphael/miniconda3/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/home/raphael/miniconda3/lib/python3.9/urllib/request.py", line 641, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

Using the package from conda-forge.

@rgoubet commented on GitHub (May 7, 2022): Same for me: ``` $ youtube-dl -F --verbose https://www.arte.tv/fr/videos/100225-000-A/sagrada-familia-le-defi-de-gaudi/ [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-F', '--verbose', 'https://www.arte.tv/fr/videos/100225-000-A/sagrada-familia-le-defi-de-gaudi/'] [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 [debug] youtube-dl version 2021.12.17 [debug] Python version 3.9.12 (CPython) - Linux-5.15.0-27-generic-x86_64-with-glibc2.35 [debug] exe versions: ffmpeg 4.3.2, ffprobe 4.3.2 [debug] Proxy map: {} [ArteTV] 100225-000-A: Downloading JSON metadata 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/raphael/miniconda3/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 634, in _request_webpage return self._downloader.urlopen(url_or_request) File "/home/raphael/miniconda3/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 2288, in urlopen return self._opener.open(req, timeout=self._socket_timeout) File "/home/raphael/miniconda3/lib/python3.9/urllib/request.py", line 523, in open response = meth(req, response) File "/home/raphael/miniconda3/lib/python3.9/urllib/request.py", line 632, in http_response response = self.parent.error( File "/home/raphael/miniconda3/lib/python3.9/urllib/request.py", line 561, in error return self._call_chain(*args) File "/home/raphael/miniconda3/lib/python3.9/urllib/request.py", line 494, in _call_chain result = func(*args) File "/home/raphael/miniconda3/lib/python3.9/urllib/request.py", line 641, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) ``` Using the [package from conda-forge](https://anaconda.org/conda-forge/youtube-dl).
Author
Owner

@dirkf commented on GitHub (May 8, 2022):

Same for me:

$ youtube-dl -F --verbose https://www.arte.tv/fr/videos/100225-000-A/sagrada-familia-le-defi-de-gaudi/
...

Plainly not relevant since Arte is not IMDB. See #30878.

@dirkf commented on GitHub (May 8, 2022): >Same for me: > >$ youtube-dl -F --verbose https://www.arte.tv/fr/videos/100225-000-A/sagrada-familia-le-defi-de-gaudi/ ... Plainly not relevant since Arte is not IMDB. See #30878.
Author
Owner

@dirkf commented on GitHub (May 8, 2022):

The IMDB link works with the yt-dlp extractor. The yt-dl patch uses the same approach, so it could work too. For code coherence, the yt-dlp extractor should be back-ported.

@dirkf commented on GitHub (May 8, 2022): The IMDB link works with the yt-dlp extractor. The [yt-dl patch](https://github.com/ytdl-org/youtube-dl/issues/30824#issuecomment-1090310225) uses the same approach, so it could work too. For code coherence, the yt-dlp extractor should be back-ported.
Author
Owner

@rgoubet commented on GitHub (May 8, 2022):

Plainly relevant since it's the same issue on a different site, furthermore indicating that more sites could be affected.

I'm hoping a new release will include this fix soon and be added to conda package.

@rgoubet commented on GitHub (May 8, 2022): Plainly relevant since it's the same issue on a different site, furthermore indicating that more sites could be affected. I'm hoping a new release will include this fix soon and be added to conda package.
Author
Owner

@brunoVanDame commented on GitHub (May 8, 2022):

I have verified both patches once again mentioned in issue #30824 and both suffer the same problem.

@brunoVanDame commented on GitHub (May 8, 2022): I have verified both patches once again mentioned in issue #30824 and both suffer the same problem.
Author
Owner

@dirkf commented on GitHub (May 8, 2022):

Plainly relevant ...

No. As with families in Anna Karenina, working extractors are all alike, but each failing extractor fails in its own way, even if the reported diagnostic looks similar.

I have verified both patches once again mentioned in issue #30824 and both suffer the same problem.

Thanks. The back-port will solve the issue, anyway.

@dirkf commented on GitHub (May 8, 2022): >Plainly relevant ... No. As with families in Anna Karenina, working extractors are all alike, but each failing extractor fails in its own way, even if the reported diagnostic looks similar. >I have verified both patches once again mentioned in issue #30824 and both suffer the same problem. Thanks. The back-port will solve the issue, anyway.
Author
Owner

@benjibasson83 commented on GitHub (May 21, 2022):

Hi
this bug still occure althought this ticket has been closed and marked as solved ( without any understandable explain)
where is the back-port will solve the issue?
how to solve the issue?
quotation of command line please
youtube-dl https://www.arte.tv/fr/videos/101322-000-A/parasite/ [ArteTV] 101322-000-A: Downloading JSON metadata 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; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

@benjibasson83 commented on GitHub (May 21, 2022): Hi this bug still occure althought this ticket has been closed and marked as solved ( without any understandable explain) where is the back-port will solve the issue? how to solve the issue? quotation of command line please `youtube-dl https://www.arte.tv/fr/videos/101322-000-A/parasite/ [ArteTV] 101322-000-A: Downloading JSON metadata 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; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. `
Author
Owner

@dirkf commented on GitHub (May 21, 2022):

The issue is about IMDB, not Arte.fr. See https://github.com/ytdl-org/youtube-dl/issues/30919 for Arte.

This issue for IMDB remains open since the symptom is not identical to that in #30824, but the same fix will close both issues when implemented.

@dirkf commented on GitHub (May 21, 2022): The issue is about IMDB, not Arte.fr. See https://github.com/ytdl-org/youtube-dl/issues/30919 for Arte. This issue for IMDB remains open since the symptom is not identical to that in #30824, but the same fix will close both issues when implemented.
Author
Owner

@ygoe commented on GitHub (May 29, 2022):

Same issue here: youtube-dl --verbose https://www.arte.tv/de/videos/108829-001-A/diener-des-volkes-staffel-2-1-23/

So this issue is about IMDB, not Arte, and this issue is about Arte? I'm confused. Posting this info anyway.

Any workaround known?

@ygoe commented on GitHub (May 29, 2022): Same issue here: `youtube-dl --verbose https://www.arte.tv/de/videos/108829-001-A/diener-des-volkes-staffel-2-1-23/` So this issue is about IMDB, not Arte, *and* this issue is about Arte? I'm confused. Posting this info anyway. Any workaround known?
Author
Owner

@dirkf commented on GitHub (May 29, 2022):

See the (edited) topic of the issue: [IMDB] ....

The Arte issue is #30923, so read that. Any work-around (there isn't one) would be described or linked from there.

@dirkf commented on GitHub (May 29, 2022): See the (edited) topic of the issue: `[IMDB] ...`. The Arte issue is #30923, so read that. Any work-around (there isn't one) would be described or linked from there.
Author
Owner

@ygoe commented on GitHub (May 30, 2022):

I'm not sure what you're talking about. This is issue 30923, and you're pointing me away to the same issue 30923? Still confused. Please decide what to say.

@ygoe commented on GitHub (May 30, 2022): I'm not sure what you're talking about. *This is* issue 30923, and you're pointing me *away* to the same issue 30923? Still confused. Please decide what to say.
Author
Owner

@dirkf commented on GitHub (May 30, 2022):

Sorry, obvs meant #30919, thanks for the hint.

@dirkf commented on GitHub (May 30, 2022): Sorry, obvs meant #30919, thanks for the hint.
Author
Owner

@rgoubet commented on GitHub (May 31, 2022):

I've switched to yt-dlp, which works after replacing the arte.py file with this one.
Note that audio and video files apparently need to be downloaded separately after identifying them with the -F swtich (at least based on my so far limited experience). Then you can use ffmpeg to combine them: ffmpeg -i audio.mp4 -i video.mp4 -c:v copy -c:a copy output.mp4.

@rgoubet commented on GitHub (May 31, 2022): I've switched to [yt-dlp](https://github.com/yt-dlp/yt-dlp), which works after replacing the `arte.py` file with [this one](https://raw.githubusercontent.com/yt-dlp/yt-dlp/master/yt_dlp/extractor/arte.py). Note that audio and video files apparently need to be downloaded separately after identifying them with the `-F` swtich (at least based on my so far limited experience). Then you can use ffmpeg to combine them: `ffmpeg -i audio.mp4 -i video.mp4 -c:v copy -c:a copy output.mp4`.
Author
Owner

@dirkf commented on GitHub (May 31, 2022):

See https://github.com/ytdl-org/youtube-dl/issues/30878#issuecomment-1141949627.

@dirkf commented on GitHub (May 31, 2022): See https://github.com/ytdl-org/youtube-dl/issues/30878#issuecomment-1141949627.
Author
Owner

@brunoVanDame commented on GitHub (Oct 11, 2022):

Jep, am using.
The error is different from the one mentioned in the issue.
Checked that already.


From: dirkf @.>
Sent: Saturday, May 7, 2022 1:48 PM
To: ytdl-org/youtube-dl @.
>
Cc: brunoVanDame @.>; Author @.>
Subject: Re: [ytdl-org/youtube-dl] Unable to download JSON metadata: HTTP Error 404: Not Found (Issue #30923)

Are you using the release version or the patch from your issue #30824https://github.com/ytdl-org/youtube-dl/issues/30824?


Reply to this email directly, view it on GitHubhttps://github.com/ytdl-org/youtube-dl/issues/30923#issuecomment-1120213095, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASC5G4UL5W4RJXB34E4W5RTVIZYDLANCNFSM5VKCBHCQ.
You are receiving this because you authored the thread.Message ID: @.***>

@brunoVanDame commented on GitHub (Oct 11, 2022): Jep, am using. The error is different from the one mentioned in the issue. Checked that already. ________________________________ From: dirkf ***@***.***> Sent: Saturday, May 7, 2022 1:48 PM To: ytdl-org/youtube-dl ***@***.***> Cc: brunoVanDame ***@***.***>; Author ***@***.***> Subject: Re: [ytdl-org/youtube-dl] Unable to download JSON metadata: HTTP Error 404: Not Found (Issue #30923) Are you using the release version or the patch from your issue #30824<https://github.com/ytdl-org/youtube-dl/issues/30824>? — Reply to this email directly, view it on GitHub<https://github.com/ytdl-org/youtube-dl/issues/30923#issuecomment-1120213095>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ASC5G4UL5W4RJXB34E4W5RTVIZYDLANCNFSM5VKCBHCQ>. You are receiving this because you authored the thread.Message ID: ***@***.***>
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#25219
No description provided.