Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Soundcloud: Unable to download JSON metadata: HTTP Error 401: Unauthorized #8186
Comments
|
You are using an outdated version of youtube-dl. Read our FAQ if you have troubles updating. |
|
OK found out myself the reason... The stable version that you get using sudo apt-get install youtube-dl is outdated. |
|
@dstftw sorry for the unnecessary report. People finding this... Here's how to fix the situation: sudo apt-get remove -y youtube-dl |
|
I've already pointed this out in my post. |
Can't seem to download on https://soundcloud.com. Here's my console:
sessionR@kali:~$ sudo youtube-dl https://soundcloud.com/20syl/ibrahimmaalouf-20sylremix -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['https://soundcloud.com/20syl/ibrahimmaalouf-20sylremix', '-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.08.05
[debug] Python version 2.7.9 - Linux-4.0.0-kali1-amd64-x86_64-with-Kali-2.0-sana
[debug] Proxy map: {}
[soundcloud] 20syl/ibrahimmaalouf-20sylremix: Resolving id
[soundcloud] 20syl/ibrahimmaalouf-20sylremix: Downloading info JSON
ERROR: Unable to download JSON metadata: HTTP Error 401: Unauthorized; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 203, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1231, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 437, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 550, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 475, in error
return self._call_chain(_args)
File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
result = func(_args)
File "/usr/lib/python2.7/urllib2.py", line 558, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)