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

[Question] Soundcloud Go+ Download not working #315

Open
3 tasks done
worldveil opened this issue Oct 6, 2021 · 1 comment
Open
3 tasks done

[Question] Soundcloud Go+ Download not working #315

worldveil opened this issue Oct 6, 2021 · 1 comment
Labels
question Further information is requested

Comments

@worldveil
Copy link

worldveil commented Oct 6, 2021

Checklist

  • I'm asking a question
  • I've looked through the README and FAQ for similar questions
  • I've searched the bugtracker for similar questions including closed ones

Question

This issue indicates what I am trying to do should be possible.

I attempted to download via my Go+ account a track I own the rights to from Soundcloud. I'd rather not reveal that track, so here is another Go+ track which I can successfully play in my browser, but cannot download with yt-dlc using my cookie credentials.

Steps to reproduce:

  1. Have a Go+ account & be logged in
  2. use cookies.txt chrome extension to download a soundcloud.com_cookies.txt file
  3. Run the command below
% youtube-dlc -f bestaudio -x --audio-quality 0 "https://soundcloud.com/soundgarden/loud-love" -o "%(title)s.%(ext)s" --cookies ./soundcloud.com_cookies.txt --ap-username "xxxxx@xxxxxx.com" --ap-password "xxxxxxxxxxxxx" -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-f', 'bestaudio', '-x', '--audio-quality', '0', 'https://soundcloud.com/soundgarden/loud-love', '-o', '%(title)s.%(ext)s', '--cookies', './soundcloud.com_cookies.txt', '--ap-username', 'PRIVATE', '--ap-password', 'PRIVATE', '-v']
[debug] Loading archive file None
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dlc version 2020.11.11-2
[debug] Python version 3.7.6 (CPython) - Darwin-19.6.0-x86_64-i386-64bit
[debug] exe versions: avconv 12.2, avprobe 12.2, ffmpeg 4.2, ffprobe 4.2
[debug] Proxy map: {}
[soundcloud] soundgarden/loud-love: Downloading info JSON
[soundcloud] 255816383: Downloading JSON metadata
[soundcloud] 255816383: Downloading JSON metadata
[debug] Invoking downloader on 'https://cf-preview-media.sndcdn.com/preview/0/30/iBq3nRSDy046.128.mp3?Policy=xxxxxx&Signature=xxxxxxxx&Key-Pair-Id=APKAI6TU7MMXM5DG6EPQ'
[download] Destination: Loud Love.mp3
[download] 100% of 465.30KiB in 00:00
[debug] ffmpeg command line: ffprobe -show_streams 'file:Loud Love.mp3'
[ffmpeg] Post-process file Loud Love.mp3 exists, skipping

Attempting this same command a) without the username password, just the cookies, or b) with just username password, and no cookies file both fail.

Version / format information

% pip freeze | grep you
youtube-dlc==2020.11.11.post2
% python --version
Python 3.7.6

and the cookies file (with info redacted):

% cat soundcloud.com_cookies.txt
# Netscape HTTP Cookie File
# This file is generated by youtube-dlc.  Do not edit.

.soundcloud.com	TRUE	/	FALSE	123123123123	G_ENABLED_IDPS	google
.soundcloud.com	TRUE	/	TRUE	0	connect_session	1
.soundcloud.com	TRUE	/	FALSE	123123123	ja	64
.soundcloud.com	TRUE	/	FALSE	123123123123	sclocale	en
.soundcloud.com	TRUE	/	TRUE	0	soundcloud_session_hint	1
api-auth.soundcloud.com	FALSE	/	TRUE	0	_soundcloud_session	"xxxxxxxx--xxxxx/xxxx="
checkout.soundcloud.com	FALSE	/	TRUE	0	checkout-auth-token	2-xxxxxx-xxxxxxx
checkout.soundcloud.com	FALSE	/	TRUE	0	checkout-auth-token-legacy	2-xxxxxx-xxxxxxx
soundcloud.com	FALSE	/	TRUE	123123123123	oauth_token	2-xxxxxx-xxxxxxx

What could be going wrong?

@worldveil worldveil added the question Further information is requested label Oct 6, 2021
@rgiuffre
Copy link

rgiuffre commented Oct 7, 2021

Since youtube-dlc is no longer being updated, I would suggest using yt-dlp instead.
https://github.com/yt-dlp/yt-dlp/releases/
Also, the music clip on the link you provided is probably one of the most grating sounds I've ever heard. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants