How can I download a private/made-for playlists/sets on Soundcloud?
Every year Soundcloud generates a unique most-listened playlist of the year for each user. They are all private by default and only viewable when logged in.
This is the command I'm trying to use: yt-dlp -i -x --cookies "cookies.txt" --audio-format best -k -r 1M --add-metadata --write-thumbnail --write-info-json --download-archive "archive.log" -o "%%(uploader)s/%%(playlist)s/%%(playlist_index)s - %%(title)s.%%(ext)s" "playlistlink"
(excuse the double %, it's because this is for a BAT file).
I've already tried to use cookies from the session (see the above command) but it just gives me a 404 not found. Apparently this should be possible in yt-dlp. I found this github page of someone trying do that and apparently yt-dlp and youtube-dl should work with it: https://github.com/ytdl-org/youtube-dl/issues/28521. It has a few examples of
The only thing I haven't tried is using the browsers keyring as a cookie file-thing. (mostly because I've never done that before). Anyone know if there's something I'm missing. It should work right? I am also using the most recent versions of yt-dlp/dl.
Here's the full error, though it's just 404: ERROR: [soundcloud:set] None: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: 'No t Found'>); please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
Posted Jan 9, 2023, 11:47 PM UTC
To read the oauth from the browser open the developer tools (usually its f12) then open the network tab reload the page and it should be in the cookie header as "oauth_token"
https://github.com/ytdl-org/youtube-dl/issues/9272#issuecomment-354473116
Ah, messing with ouath is much easier. Can't believe I didn't think of that. Thanks!