Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to download JSON metadata: HTTP Error 404 #28327

Closed
5 of 6 tasks
dbjock opened this issue Mar 3, 2021 · 7 comments
Closed
5 of 6 tasks

Unable to download JSON metadata: HTTP Error 404 #28327

dbjock opened this issue Mar 3, 2021 · 7 comments

Comments

@dbjock
Copy link

dbjock commented Mar 3, 2021

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2021.03.02
  • 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: ['--playlist-reverse', '--verbose', '--min-sleep-interval', '10', '--max-sleep-interval', '30', '--dateafter', 'now-4weeks', '--download-archive', '/home/UTubeVids/testing/downloaded.txt', '-i', '-f', 'best', '-o', '/home/UTubeVids/testing/%(uploader)s/%(playlist)s/%(playlist)s - %(release_date)s - %(title)s [%(id)s].%(ext)s', '--batch-file=/home/UTubeVids/testing/channel_list.txt']
[debug] Batch file urls: ['https://www.youtube.com/channel/UC0woBco6Dgcxt0h8SwyyOmw']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.03.02
[debug] Python version 3.8.6 (CPython) - Linux-3.10.0-1160.11.1.el7.x86_64-x86_64-with-glibc2.2.5
[debug] exe versions: none
[debug] Proxy map: {}
[youtube:tab] UC0woBco6Dgcxt0h8SwyyOmw: Downloading webpage
[download] Downloading playlist: Megaprojects - Home
[youtube:tab] playlist Megaprojects - Home: Downloading 1 videos
[download] Downloading video 1 of 1
[youtube:tab] UC0woBco6Dgcxt0h8SwyyOmw: Downloading webpage
[download] Downloading playlist: Megaprojects - Videos
[youtube:tab] Downloading page 1
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/pops/youtube-dl/venv/lib64/python3.8/site-packages/youtube_dl/extractor/common.py", line 632, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/home/pops/youtube-dl/venv/lib64/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 2275, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/opt/rh/rh-python38/root/usr/lib64/python3.8/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/opt/rh/rh-python38/root/usr/lib64/python3.8/urllib/request.py", line 640, in http_response
    response = self.parent.error(
  File "/opt/rh/rh-python38/root/usr/lib64/python3.8/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/opt/rh/rh-python38/root/usr/lib64/python3.8/urllib/request.py", line 502, in _call_chain
    result = func(*args)
  File "/opt/rh/rh-python38/root/usr/lib64/python3.8/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

Description

Error received on first URL in channel list. Other channels successfully downloaded.

@xijin1337
Copy link

same problem here

@hypevhs
Copy link

hypevhs commented Mar 3, 2021

I'm also seeing this with no arguments other than a public playlist URL and --verbose.

@coletdjnz
Copy link
Contributor

coletdjnz commented Mar 3, 2021

After some investigating, it doesn't seem to be server side issue but rather probably some sort of API change - #28289 (comment)

@Z4R10N
Copy link

Z4R10N commented Mar 3, 2021

Same error here. Version 2021.02.10

No error with version 2020.12.31 - Just limits playlists to 30 [old problem].

@eldr4
Copy link

eldr4 commented Mar 3, 2021

Same issue here
verbose-
D:\Youtube Vids 2\BG Kumbi> yt -r 8m -ciw https://www.youtube.com/c/BGKumbi/videos --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-r', '8m', '-ciw', 'https://www.youtube.com/c/BGKumbi/videos', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2021.03.02
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: ffmpeg 4.3, ffprobe 4.3
[debug] Proxy map: {}
[youtube:tab] BGKumbi: Downloading webpage
[download] Downloading playlist: BG Kumbi - Videos
[youtube:tab] Downloading page 1
ERROR: Unable to download JSON metadata: HTTP Error 404: Not Found (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\ytdl-org\tmp_qzp9er5\build\youtube_dl\extractor\common.py", line 632, in _request_webpage
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp_qzp9er5\build\youtube_dl\YoutubeDL.py", line 2275, 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

@dstftw dstftw closed this as completed in 061c030 Mar 3, 2021
github-actions bot added a commit to hellopony/youtube-dl that referenced this issue Mar 3, 2021
* https://github.com/ytdl-org/youtube-dl:
  release 2021.03.03
  [ChangeLog] Actualize [ci skip]
  [youtube:tab] Switch continuation to browse API (closes ytdl-org#28289, closes ytdl-org#28327)
leshasmlesha pushed a commit to leshasmlesha/youtube-dl that referenced this issue Mar 7, 2021
leshasmlesha pushed a commit to leshasmlesha/youtube-dl that referenced this issue Mar 7, 2021
dirkf pushed a commit to dirkf/youtube-dl that referenced this issue Mar 16, 2021
leshasmlesha pushed a commit to leshasmlesha/youtube-dl that referenced this issue Apr 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants
@hypevhs @coletdjnz @Z4R10N @dbjock @eldr4 @xijin1337 and others