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

Artist name not resolved for Soundcloud #19182

Closed
dmlemos opened this issue Feb 9, 2019 · 1 comment
Closed

Artist name not resolved for Soundcloud #19182

dmlemos opened this issue Feb 9, 2019 · 1 comment

Comments

@dmlemos
Copy link

@dmlemos dmlemos commented Feb 9, 2019

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2019.02.08. 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 2019.02.08

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

 $ youtube-dl --external-downloader=curl -v --output '%(artist)s - %(title)s.%(ext)s' https://soundcloud.com/stormsound/a-place-in-time
[debug] System config: []
[debug] User config: ['--output', '%(playlist_index)s. %(artist)s - %(title)s.%(ext)s', '--external-downloader', 'curl']
[debug] Custom config: []
[debug] Command-line args: ['--external-downloader=curl', '-v', '--output', '%(artist)s - %(title)s.%(ext)s', 'https://soundcloud.com/stormsound/a-place-in-time']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.02.08
[debug] Python version 3.7.2 (CPython) - Darwin-18.2.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.1, ffprobe 4.1, rtmpdump 2.4
[debug] Proxy map: {}
[soundcloud] stormsound/a-place-in-time: Resolving id
[soundcloud] stormsound/a-place-in-time: Downloading info JSON
[soundcloud] 189513680: Downloading track url
[soundcloud] 189513680: Downloading m3u8 information
[soundcloud] 189513680: Checking http_mp3_128_url video format URL
[soundcloud] 189513680: Checking hls_mp3_128_url video format URL
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://cf-media.sndcdn.com/K5KtmvEmCCnH.128.mp3?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLW1lZGlhLnNuZGNkbi5jb20vSzVLdG12RW1DQ25ILjEyOC5tcDMiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE1NDk3NDkwNDJ9fX1dfQ__&Signature=RHojcnDr7P0N1OT0shGpf-uGG7oodbA1yOy0whTPH2KlMcFRgo9mcfLnkkkeFV5ki72JsM8~JFfltb~avZqquHMnKYxtg558GRMQWGsTFFKmnPbku0ujG~tklezeOXd-EnxoZ8oaTn4SZPnVEXW7NxnvG3nu-EVO-xru9F2Pdz~dxPqBkDSBR~~bDSyGY3DKA3FPkr1jUmaNemdNqZYpabePTGVQGuV02T6j~VDPsDZp0CPQd9SFKl4gSa4oUXcYirTHamVf9mT-sra632S8N3tw5ZbHbrfaLFHSc4BqHkm5-lQq37mcPq-8gj3hdpj4Cr9ubWaaP~n6OlBJecau1A__&Key-Pair-Id=APKAJAGZ7VMH2PFPW6UQ'
[download] Destination: NA - A Place in Time (Cinematic, Inspiring).mp3
[debug] curl command line: curl --location -o 'NA - A Place in Time (Cinematic, Inspiring).mp3.part' --header 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0' --header 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7' --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' --header 'Accept-Encoding: gzip, deflate' --header 'Accept-Language: en-us,en;q=0.5' --continue-at - --verbose --retry 10 -- 'https://cf-media.sndcdn.com/K5KtmvEmCCnH.128.mp3?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLW1lZGlhLnNuZGNkbi5jb20vSzVLdG12RW1DQ25ILjEyOC5tcDMiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE1NDk3NDkwNDJ9fX1dfQ__&Signature=RHojcnDr7P0N1OT0shGpf-uGG7oodbA1yOy0whTPH2KlMcFRgo9mcfLnkkkeFV5ki72JsM8~JFfltb~avZqquHMnKYxtg558GRMQWGsTFFKmnPbku0ujG~tklezeOXd-EnxoZ8oaTn4SZPnVEXW7NxnvG3nu-EVO-xru9F2Pdz~dxPqBkDSBR~~bDSyGY3DKA3FPkr1jUmaNemdNqZYpabePTGVQGuV02T6j~VDPsDZp0CPQd9SFKl4gSa4oUXcYirTHamVf9mT-sra632S8N3tw5ZbHbrfaLFHSc4BqHkm5-lQq37mcPq-8gj3hdpj4Cr9ubWaaP~n6OlBJecau1A__&Key-Pair-Id=APKAJAGZ7VMH2PFPW6UQ'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 143.204.214.70...
* TCP_NODELAY set
* Connected to cf-media.sndcdn.com (143.204.214.70) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/cert.pem
  CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [225 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [76 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [2797 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: OU=Domain Control Validated; CN=*.sndcdn.com
*  start date: Apr 13 09:29:22 2018 GMT
*  expire date: Jun  8 10:22:35 2020 GMT
*  subjectAltName: host "cf-media.sndcdn.com" matched cert's "*.sndcdn.com"
*  issuer: C=BE; O=GlobalSign nv-sa; CN=GlobalSign Domain Validation CA - SHA256 - G2
*  SSL certificate verify ok.
> GET /K5KtmvEmCCnH.128.mp3?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLW1lZGlhLnNuZGNkbi5jb20vSzVLdG12RW1DQ25ILjEyOC5tcDMiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE1NDk3NDkwNDJ9fX1dfQ__&Signature=RHojcnDr7P0N1OT0shGpf-uGG7oodbA1yOy0whTPH2KlMcFRgo9mcfLnkkkeFV5ki72JsM8~JFfltb~avZqquHMnKYxtg558GRMQWGsTFFKmnPbku0ujG~tklezeOXd-EnxoZ8oaTn4SZPnVEXW7NxnvG3nu-EVO-xru9F2Pdz~dxPqBkDSBR~~bDSyGY3DKA3FPkr1jUmaNemdNqZYpabePTGVQGuV02T6j~VDPsDZp0CPQd9SFKl4gSa4oUXcYirTHamVf9mT-sra632S8N3tw5ZbHbrfaLFHSc4BqHkm5-lQq37mcPq-8gj3hdpj4Cr9ubWaaP~n6OlBJecau1A__&Key-Pair-Id=APKAJAGZ7VMH2PFPW6UQ HTTP/1.1
> Host: cf-media.sndcdn.com
> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> Accept-Encoding: gzip, deflate
> Accept-Language: en-us,en;q=0.5
>
< HTTP/1.1 200 OK
< Content-Type: audio/mpeg
< Content-Length: 1729932
< Connection: keep-alive
< Date: Sat, 09 Feb 2019 21:46:56 GMT
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Methods: GET
< Access-Control-Max-Age: 3000
< Last-Modified: Tue, 21 Jun 2016 03:15:46 GMT
< ETag: "c2dfe12c04caa16ff58ea8cc3cecd8c6"
< x-amz-server-side-encryption: AES256
< x-amz-meta-bitrate: 128
< x-amz-meta-duration: 108130
< x-amz-meta-job: K5KtmvEmCCnH
< Cache-Control: max-age=252460800
< x-amz-version-id: l2XWYnZTSQ9fvHTZ8Oz8XzqC_w3htLHu
< Accept-Ranges: bytes
< Server: AmazonS3
< X-Cache: Miss from cloudfront
< Via: 1.1 15d3b4db3728feaae1780610a1bac86e.cloudfront.net (CloudFront)
< X-Amz-Cf-Id: l49VRI-7sE-yBKnrJiuR7Y9iLbbC2O34vQsqO9nGThFvltiksX_OaA==
<
{ [15928 bytes data]
100 1689k  100 1689k    0     0  1079k      0  0:00:01  0:00:01 --:--:-- 1080k
* Connection #0 to host cf-media.sndcdn.com left intact
[curl] Downloaded 1729932 bytes
[download] 100% of 1.65MiB in 00:01

Description of your issue, suggested solution and other information

What the problem is

When downloading from soundcloud.com, and including the artist on the output template, youtube-dl never seems to be able to get resolve it. I assume this to be a bug.

How it could be fixed

Resolve the artist name when downloading from soundcloud.com.

How your proposed solution would look like

Take the artist name from the URL, for example https://soundcloud.com/stormsound <- artist

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 10, 2019

This is not always the case (e.g. https://soundcloud.com/ethmusic/adrian-ackers-hometown-outlaw), rather it's just an uploader name that is already available as uploader.

@dstftw dstftw closed this Feb 10, 2019
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
2 participants
You can’t perform that action at this time.