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.
Unable to download from Souncloud #12376
Comments
|
Was just about to log on to report this. Good going! |
|
It's a client ID change. About time to fetch it from the app.js instead? I've seen it change twice in the last few months already. |
|
@sedmelluq Yeah exactly. |
|
@sedmelluq Do you know what is the new client ID? |
|
Exactly the same issue, on another example of SoundClound track: $ youtube-dl -v --youtube-skip-dash-manifest --format worst --output "%(title)s.%(ext)s" --extract-audio --console-title --audio-format=mp3 --no-overwrites -- 'https://soundcloud.com/penofchaos/naheulbeuk-hors-serie-les-blagues'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'--youtube-skip-dash-manifest', u'--format', u'worst', u'--output', u'%(title)s.%(ext)s', u'--extract-audio', u'--console-title', u'--audio-format=mp3', u'--no-overwrites', u'--', u'https://soundcloud.com/penofchaos/naheulbeuk-hors-serie-les-blagues']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.03.06
[debug] Python version 2.7.12+ - Linux-4.8.0-39-generic-x86_64-with-Ubuntu-16.10-yakkety
[debug] exe versions: avconv 3.0.7-0ubuntu0.16.10.1, avprobe 3.0.7-0ubuntu0.16.10.1, ffmpeg 3.0.7-0ubuntu0.16.10.1, ffprobe 3.0.7-0ubuntu0.16.10.1
[debug] Proxy map: {}
[soundcloud] penofchaos/naheulbeuk-hors-serie-les-blagues: Resolving id
[soundcloud] penofchaos/naheulbeuk-hors-serie-les-blagues: Downloading info JSON
ERROR: Unable to download JSON metadata: HTTP Error 401: Unauthorized (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 "~/bin/youtube-dl/youtube_dl/extractor/common.py", line 496, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "~/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2093, 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) |
|
I believe it is |
|
Still seeing an error:
|
|
^ |
|
@dstftw Thanks for your quick reply! |
|
Apologies if I was jumping the gun. |
|
@jeremycherfas (and others).. |
|
Great. Many thanks. Worked perfectly this time.
On Mon, 6 Mar 2017, at 10:57 PM, H R X N wrote:
@jeremycherfas[1] (and others)..
dstftw made a new release, please try it again with youtube-dl
2017.03.07
|
|
Has it changed again? Couldn't get it to work, and I've just updated it (2017.08.06):
I don't think it's a problem with soundcloud blocking me in any way, since I can download it manually, by using the Network tab of the Developer tools to get the stream, then:
take the first URL, replace the two
|
|
Works for me right now.. Don't know, looks like either issue with certs or the rather old Python version... |
|
Also, sorry for necroing this thread, but I didn't want to create a new one if it was a simple error on my side or the same issue reoccuring...
|
|
My test was done with Python 3.6.1 on Windows 10. Not sure, but on Windows there has been this issue where youtube-dl/Python would error out because of outdated certs in the cert store. And the latest Python 2 version is 2.7.13, by the way. I think 2.7.6 is rather old. |
|
So I followed these instructions to install latest python2.7 to
I don't know enough about python to find the youtube_dl module, I don't know where it's stored. the contents of
I don't know how to point it in the right direction, or even where that is. I tried changing the shebang in the first line to |
|
Ok I did
TLDR: it's not the python version. |
|
Wrong. https://soundcloud.com/sssshawnnnn/shawn-wasabi-ydg-burnt-rice-henrik-th is 404 that is clearly reported in log. |
|
Oh wow, can't believe I missed that. I really don't know how that got mangled. The downloaded youtube-dl file works with python3 and my downloaded python, I'll make it work, thanks! |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like that [x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2017.03.06. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add
-vflag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):