Open g-mac opened 3 years ago
@Miserlou is this the end of it? the end of soundscrape for soundcloud? i cannot get my head around it, but it looks like they ve changed a bunch of things and upped their security.. what do you think? fixable? hackable?
Seriously tho i just wanted to get all my songs on my phone this was my go to for a very long time, i hope this gets fixed soon.
right, thanks for the input - i ended up using a different tool for soundcloud downloads for now. However I would enjoy if soundscrape was fixed - and the broken link was really not the problem, the 401 unauthorized is real.
right, thanks for the input - i ended up using a different tool for soundcloud downloads for now. However I would enjoy if soundscrape was fixed - and the broken link was really not the problem, the 401 unauthorized is real.
@g-mac which tool did you use? thank you !
https://github.com/ytdl-org/youtube-dl
youtube-dl --add-metadata --embed-thumbnail [soundcloud url]
seems to do the trick (with caveats).
edit: I haven't been getting the permission error. Also, I don't like when it ends up downloading a .wav file. Youtube-dl will convert the wav to mp3 and then apply the metadata + thumbnail for you if you use the following command:
youtube-dl --no-mtime --add-metadata --embed-thumbnail -x --audio-format mp3 --audio-quality 2 [soundcloud url]
See the github page for how --audio-quality works. Note that if what you download is already an mp3, then it won't attempt to convert it and apply the audio-quality setting. So basically, always use the newer command with audio-format and audio-quality, and it will convert a wav for you if that's what you pull, but do nothing different otherwise.
youtube-dl and incantation posted by @hbak works for me (no permission error). I installed youtube-dl
via brew
and it installed ffmpeg
as part of that. Thanks for the tip!
The Soundcloud api changes are ostensibly so "we can relaunch API access to all developers", which might be a good thing in the end.
Why isn't youtube-dl running into the same error as Soundscrape?
https://github.com/flyingrub/scdl works for Soundcloud
youtube-dl --add-metadata --embed-thumbnail
how to select audio quality? mp3 320 or 192 or any other?
Hey, it seems to me like soundscraping soundcloud is no longer working. Following the issue throughout the code its seems that a 401 http error,
unauthorized
is the issue, which is the response received in line 526 [get_hard_track_url()]. Does this have something todo with the new security update from soundcloud? https://developers.soundcloud.com/blog/security-updates-apiwould be super happy if a fix for this issue was found.
best wishes, simon