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: Not Found on https://soundcloud.com/you/likes #18954

Open
yuis-ice opened this issue Jan 22, 2019 · 1 comment

Comments

@yuis-ice
Copy link

I'm not sure about that that is a bug or not featured yet. If in second case, I'd like to suppose as a feature request.

  1. To update to run pip install --upgrade youtube-dl. I've confirmed successfully upgraded to the latest.
  2. Get cookie from chrome with cookie.txt chrome extension.
  3. Run the script as below
LC_ALL=en_US.UTF-8 \
youtube-dl -i -v \
-o "/mnt/e/_videos/_youtube_dl/tmp/tmp/%(id)s--%(title)s--%(uploader)s.%(ext)s" \
--cookies /home/data/youtube-dl/cookie_soundcloud.txt --download-archive /home/data/youtube-dl/archive_tmp.txt \
"https://soundcloud.com/you/likes"
  1. Got an error. A whole output as below
$ LC_ALL=en_US.UTF-8 youtube-dl -i -v -o "/mnt/e/_videos/_youtube_dl/tmp/tmp/%(id)s--%(title)s--%(uploader)s.%(ext)s" --cookies /home/data/youtube-dl/cookie_soundcloud.txt --download-archive /home/data/youtube-dl/archive_tmp.txt "https://soundcloud.com/you/likes"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-i', '-v', '-o', '/mnt/e/_videos/_youtube_dl/tmp/tmp/%(id)s--%(title)s--%(uploader)s.%(ext)s', '--cookies', '/home/data/youtube-dl/cookie_soundcloud.txt', '--download-archive', '/home/data/youtube-dl/archive_tmp.txt', 'https://soundcloud.com/you/likes']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.01.17
[debug] Python version 3.5.2 (CPython) - Linux-4.4.0-17763-Microsoft-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 2.8.15, ffprobe 2.8.15
[debug] Proxy map: {}
[soundcloud:user] you: Downloading user info
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.5/dist-packages/youtube_dl/extractor/common.py", line 605, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/lib/python3.5/dist-packages/youtube_dl/YoutubeDL.py", line 2212, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.5/urllib/request.py", line 472, in open
    response = meth(req, response)
  File "/usr/lib/python3.5/urllib/request.py", line 582, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.5/urllib/request.py", line 510, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.5/urllib/request.py", line 590, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
@sloproo
Copy link

sloproo commented Dec 9, 2019

Same error message here, with an embedded private playlist on https://www.soundi.fi/uutiset/ennakkokuuntelussa-timo-kaukolammen-station-to-station-to-station-julkaisua-juhlitaan-tanaan-g-livelabissa/

[debug] System config: []
[debug] User config: [u'-o', u'%(title)s.%(ext)s', u'-f', u'bestvideo[height<=720]+bestaudio/best[height<=720]/best', u'-v', u'--no-overwrites', u'--restrict-filenames', u'--netrc']
[debug] Custom config: []
[debug] Command-line args: [u'https://www.soundi.fi/uutiset/ennakkokuuntelussa-timo-kaukolammen-station-to-station-to-station-julkaisua-juhlitaan-tanaan-g-livelabissa/', u'--verbose', u'flag']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.11.28
[debug] Python version 2.7.16 (CPython) - Linux-4.19.75+-armv7l-with-debian-10.2
[debug] exe versions: avconv 4.1.4-1, avprobe 4.1.4-1, ffmpeg 4.1.4-1, ffprobe 4.1.4-1, rtmpdump 2.4
[debug] Proxy map: {}
[generic] ennakkokuuntelussa-timo-kaukolammen-station-to-station-to-station-julkaisua-juhlitaan-tanaan-g-livelabissa: Requesting header
WARNING: Falling back on generic information extractor.
[generic] ennakkokuuntelussa-timo-kaukolammen-station-to-station-to-station-julkaisua-juhlitaan-tanaan-g-livelabissa: Downloading webpage
[generic] ennakkokuuntelussa-timo-kaukolammen-station-to-station-to-station-julkaisua-juhlitaan-tanaan-g-livelabissa: Extracting information
[download] Downloading playlist: Ennakkokuuntelussa Timo Kaukolammen Station To Station To Station - Julkaisua juhlitaan tänään G Livelabissa - Soundi.fi
[generic] playlist Ennakkokuuntelussa Timo Kaukolammen Station To Station To Station - Julkaisua juhlitaan tänään G Livelabissa - Soundi.fi: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[soundcloud:playlist] 922213810: Downloading playlist
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 "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 627, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2237, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

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

2 participants