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

Two SoundCloud URLs still get HTTP 401 despite newest version, new client ID and providing credentials. #23220

Closed
willcast opened this issue Nov 26, 2019 · 0 comments
Labels

Comments

@willcast
Copy link

@willcast willcast commented Nov 26, 2019

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2019.11.22
  • 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 issues including closed ones

Verbose log

will@cthulhu ~/youtube-dl $ ./youtube-dl -vx https://soundcloud.com/abraxis_sound/old-gods
[debug] System config: ['--no-mtime']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-vx', 'https://soundcloud.com/abraxis_sound/old-gods']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2019.11.22
[debug] Python version 3.8.0 (CPython) - Linux-5.3.12-arch1-1-x86_64-with-glibc2.2.5
[debug] exe versions: ffmpeg 4.2.1, ffprobe 4.2.1, rtmpdump 2.4
[debug] Proxy map: {}
[soundcloud] abraxis_sound/old-gods: Downloading info JSON
WARNING: Unable to download JSON metadata: HTTP Error 401: Unauthorized
[soundcloud] abraxis_sound/old-gods: Downloading info JSON
ERROR: Unable to download JSON metadata: HTTP Error 401: Unauthorized (caused by <HTTPError 401: 'Unauthorized'>); 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 "./youtube-dl/youtube_dl/extractor/common.py", line 627, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "./youtube-dl/youtube_dl/YoutubeDL.py", line 2237, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.8/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.8/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

Description

Hi, I have two URL's that won't download. The first is https://soundcloud.com/abraxis_sound/old-gods and the second is https://soundcloud.com/alteza-records/abraxis-old-gods-full-track-alteza-records-out-now

I know that there was a very recent commit that changed the Client ID for SoundCloud, but I tried patching the new client ID into the latest release from yt-dl.org and I still get 401 Unauthorized.

I also tried signing up for a free account on SoundCloud and providing the credentials, even though the song works in a browser without having logged in. This didn't get me any further or change a single thing, so I really think the issue is beyond client IDs or credentials.

@dstftw dstftw closed this Nov 26, 2019
@dstftw dstftw added the duplicate label Nov 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.