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 getting 401 unauthorized #23091

Closed
iheartcsharp opened this issue Nov 14, 2019 · 1 comment
Closed

SoundCloud getting 401 unauthorized #23091

iheartcsharp opened this issue Nov 14, 2019 · 1 comment
Labels

Comments

@iheartcsharp
Copy link

@iheartcsharp iheartcsharp commented Nov 14, 2019

Checklist

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

D:\soundcloud>youtube-dl -U
youtube-dl is up-to-date (2019.11.05)

D:\soundcloud>youtube-dl -v https://soundcloud.com/djshahmoneybeatz/tracks
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://soundcloud.com/djshahmoneybeatz/tracks']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2019.11.05
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: ffmpeg 4.2.1, ffprobe 4.2.1
[debug] Proxy map: {}
[soundcloud:user] djshahmoneybeatz: Downloading user info
[soundcloud:user] 39420309: Downloading track page 1
[soundcloud:user] 39420309: Downloading track page 2
[download] Downloading playlist: BeatByShahed (Tracks)
[soundcloud:user] playlist BeatByShahed (Tracks): Collected 45 video ids (downloading 45 of them)
[download] Downloading video 1 of 45
[soundcloud] djshahmoneybeatz/beat-61-yt_beatbyshahed: Downloading info JSON
[soundcloud] 658496249: Downloading JSON metadata
[soundcloud] 658496249: Downloading JSON metadata
[soundcloud] 658496249: Downloading JSON metadata
[soundcloud] 658496249: Downloading JSON metadata
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://api.soundcloud.com/tracks/658496249/download?client_id=BeGVhOrGmfboy1LtiHTQF6Ejpt9ULJCI'
ERROR: unable to download video data: HTTP Error 401: Unauthorized
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\YoutubeDL.py", line 1925, in process_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\YoutubeDL.py", line 1864, in dl
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\downloader\common.py", line 366, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\downloader\http.py", line 341, in real_download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\downloader\http.py", line 109, in establish_connection
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\YoutubeDL.py", line 2237, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default
urllib.error.HTTPError: HTTP Error 401: Unauthorized

Description

Getting a 401 unauthorized error when trying to download from soundcloud. I tried both http and https but got the same error. I can play all the tracks from Firefox without any problems and without signing into my SoundCloud account.

@iheartcsharp
Copy link
Author

@iheartcsharp iheartcsharp commented Nov 14, 2019

Where is the duplicate ticket and what is the fix?

EDIT: Found it! #23045

@ytdl-org ytdl-org locked and limited conversation to collaborators Dec 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.