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 Go Track Fetching #9272

Open
CoelacanthsKill opened this issue Apr 21, 2016 · 8 comments
Open

Soundcloud Go Track Fetching #9272

CoelacanthsKill opened this issue Apr 21, 2016 · 8 comments

Comments

@CoelacanthsKill
Copy link

@CoelacanthsKill CoelacanthsKill commented Apr 21, 2016

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.04.19. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2016.04.19

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

Add support for logging into soundcloud, and having the ability to fetch full length Soundcloud Go tracks.

@yan12125 yan12125 mentioned this issue May 16, 2017
4 of 8 tasks complete
@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented May 16, 2017

Is there an example URL?

@CoelacanthsKill
Copy link
Author

@CoelacanthsKill CoelacanthsKill commented May 16, 2017

https://soundcloud.com/herbalpert/jump-street

You must have SoundcloudGo in order to listen to the entire song.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented May 16, 2017

This track is not available in Taiwan

Which countries does it require?

@CoelacanthsKill
Copy link
Author

@CoelacanthsKill CoelacanthsKill commented May 16, 2017

It works in the USA, not sure about other countries.

@VFUC
Copy link

@VFUC VFUC commented Dec 29, 2017

SoundCloud now requires logging in via OAuth2, so that's a bit tricky to implement without registering an app and implementing a redirect flow. You can however just log in with a browser, read the OAuth-Token from the cookies and pass it to youtube-dl.
SoundCloud will then provide the full-length tracks instead of only the preview when fetching, the rest works seamlessly 🙂
The cookie is called oauth_token and an example call would be
youtube-dl --add-header 'Authorization':'OAuth 2-123456-123456789-aaa...' https://soundcloud.com/artist/track

Cheers!

@josephecombs
Copy link

@josephecombs josephecombs commented May 4, 2019

@VFUC 's solution confirmed as working on 5/4/19. I did need to update to get it to work.

@hussong
Copy link

@hussong hussong commented May 14, 2019

Can confirm as well that @VFUC's above solution is working as of 2019-05-14 with youtube-dl version 2019.05.11.

@bersbersbers
Copy link

@bersbersbers bersbersbers commented Jul 4, 2020

Had to use

youtube-dl --add-header "Authorization:OAuth 2-..." https://soundcloud.com/artist/track

(note quotation marks) on Windows 10. Working fine otherwise on 2020.06.16.1.

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
6 participants
You can’t perform that action at this time.