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

Can't download artwork from SoundCloud #7247

Closed
TwisX opened this issue Oct 20, 2015 · 7 comments
Closed

Can't download artwork from SoundCloud #7247

TwisX opened this issue Oct 20, 2015 · 7 comments

Comments

@TwisX
Copy link

@TwisX TwisX commented Oct 20, 2015

Here's the output:

C:\Users\owner\Music\Downloader>youtube-dl --embed-thumbnail https://soundcloud.
com/luka_v/oliver-heldens-shades-of-grey-luka-v-remix-1
[soundcloud] luka_v/oliver-heldens-shades-of-grey-luka-v-remix-1: Resolving id
[soundcloud] luka_v/oliver-heldens-shades-of-grey-luka-v-remix-1: Downloading in
fo JSON
[soundcloud] 229099825: Downloading track url
[soundcloud] 229099825: Checking fallback video format URL
[soundcloud] 229099825: Checking http_mp3_128_url video format URL
[soundcloud] 229099825: Downloading thumbnail ...
WARNING: Unable to download thumbnail "https://i1.sndcdn.com/artworks-0001332291
50-o0dmz2-t500x500.jpg": <urlopen error [Errno 1] _ssl.c:510: error:14077410:SSL
routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure>
[download] Oliver Heldens - Shades Of Grey (Luka V Remix)-229099825.mp3 has alre
ady been downloaded
[download] 100% of 4.49MiB
[ffmpeg] Adding metadata to 'Oliver Heldens - Shades Of Grey (Luka V Remix)-2290
99825.mp3'
WARNING: Skipping embedding the thumbnail because the file is missing.

It does this with all SoundCloud tracks that I've tried so far.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Oct 20, 2015

As explained in the bug reporting instructions post the output of youtube-dl --verbose https://soundcloud.com/luka_v/oliver-heldens-shades-of-grey-luka-v-remix-1 --embed-thumbnail
It works fine for me, can you see https://i1.sndcdn.com/artworks-000133229150-o0dmz2-t500x500.jpg with a browser?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 20, 2015

That's due to python 2.7.8 shipped with windows build.

@TwisX
Copy link
Author

@TwisX TwisX commented Oct 20, 2015

Here's the verbose output:

C:\Users\owner\Music\Downloader>youtube-dl --verbose https://soundcloud.com/luka
_v/oliver-heldens-shades-of-grey-luka-v-remix-1 --embed-thumbnail
[debug] System config: []
[debug] User config: [u'--add-metadata', u'--audio-quality', u'0']
[debug] Command-line args: [u'--verbose', u'https://soundcloud.com/luka_v/oliver
-heldens-shades-of-grey-luka-v-remix-1', u'--embed-thumbnail']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2015.10.18
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-76144-ge91cd8a, ffprobe N-76144-ge91cd8a
[debug] Proxy map: {}
[soundcloud] luka_v/oliver-heldens-shades-of-grey-luka-v-remix-1: Resolving id
[soundcloud] luka_v/oliver-heldens-shades-of-grey-luka-v-remix-1: Downloading in
fo JSON
[soundcloud] 229099825: Downloading track url
[soundcloud] 229099825: Checking fallback video format URL
[soundcloud] 229099825: Checking http_mp3_128_url video format URL
[soundcloud] 229099825: Downloading thumbnail ...
WARNING: Unable to download thumbnail "https://i1.sndcdn.com/artworks-0001332291
50-o0dmz2-t500x500.jpg": <urlopen error [Errno 1] _ssl.c:510: error:14077410:SSL
routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure>
[debug] Invoking downloader on u'https://ec-media.sndcdn.com/wTz60do2STuo.128.mp
3?f10880d39085a94a0418a7ef69b03d522cd6dfee9399eeb9a52205996cffbd3d20d34cc6a5f3a0
e5d5b430fb214d9aa4370cf7ca9b580dab37487411d14ffef1c77e373bb4'
[download] Oliver Heldens - Shades Of Grey (Luka V Remix)-229099825.mp3 has alre
ady been downloaded
[download] 100% of 4.49MiB
[ffmpeg] Adding metadata to 'Oliver Heldens - Shades Of Grey (Luka V Remix)-2290
99825.mp3'
[debug] ffmpeg command line: ffmpeg -y -i 'file:Oliver Heldens - Shades Of Grey
(Luka V Remix)-229099825.mp3' -c copy -metadata comment= -metadata description=
-metadata 'artist=Luka V' -metadata 'title=Oliver Heldens - Shades Of Grey (Luka
V Remix)' -metadata date=20151019 -metadata purl=http://soundcloud.com/luka_v/o
liver-heldens-shades-of-grey-luka-v-remix-1 'file:Oliver Heldens - Shades Of Gre
y (Luka V Remix)-229099825.temp.mp3'
WARNING: Skipping embedding the thumbnail because the file is missing.

Yes, I can see the artwork with my browser.

I'm using the Windows .exe, is there another version that doesn't have this problem? I have Python 2.7.5 installed on my system.

@TwisX
Copy link
Author

@TwisX TwisX commented Oct 20, 2015

Tried the script with Python 2.7.5. Same results.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 20, 2015

You need python 2.7.9 or greater.

@TwisX
Copy link
Author

@TwisX TwisX commented Oct 20, 2015

I'll give it a try, thanks!

@TwisX
Copy link
Author

@TwisX TwisX commented Oct 20, 2015

Works like a charm! Thanks for this awesome script!

@TwisX TwisX closed this Oct 20, 2015
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
3 participants
You can’t perform that action at this time.