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

Soundcloud download results in 401 error #23244

Closed
5 tasks done
bencardoen opened this issue Nov 27, 2019 · 2 comments
Closed
5 tasks done

Soundcloud download results in 401 error #23244

bencardoen opened this issue Nov 27, 2019 · 2 comments

Comments

@bencardoen
Copy link

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

youtube-dl https://soundcloud.com/irmiu/sync24-dance-of-the-droids --verbose                                                1 ✘ | miniconda3 Py | 15:13:39 
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://soundcloud.com/irmiu/sync24-dance-of-the-droids', '--verbose']
[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.7.3 (CPython) - Linux-4.20.5-200.fc29.x86_64-x86_64-with-fedora-29-Twenty_Nine
[debug] exe versions: ffmpeg 4.0.4, ffprobe 4.0.4
[debug] Proxy map: {}
[soundcloud] irmiu/sync24-dance-of-the-droids: Downloading info JSON
WARNING: Unable to download JSON metadata: HTTP Error 401: Unauthorized
[soundcloud] irmiu/sync24-dance-of-the-droids: 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 "/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 "/home/bcardoen/miniconda3/lib/python3.7/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/home/bcardoen/miniconda3/lib/python3.7/urllib/request.py", line 641, in http_response
    'http', request, response, code, msg, hdrs)
  File "/home/bcardoen/miniconda3/lib/python3.7/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/home/bcardoen/miniconda3/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/home/bcardoen/miniconda3/lib/python3.7/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

Description

Soundcloud extraction fails with latest version, see above test url.
I tested a randomly chosen url with same results.
Both play in firefox both logged in and in incognito.
Thanks for looking into this! (and amazing project btw)

@carlosmouracorreia
Copy link

2019-11-28 and 2019-12-25 versions result both on a 401 error still. Anyone experiencing this? @bencardoen

@bencardoen
Copy link
Author

bencardoen commented Dec 25, 2019

It's still not working for me either (2019.12.25), same error
@remitamine can you re-open this or point us to the duplicate issue this is from?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants