ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
131.28k stars 9.95k forks source link

Support for Apple Music videos #6189

Closed Fironet closed 9 years ago

Fironet commented 9 years ago

Tried downloading a music video from Apple Music (itunes.apple.com) and youtube-dl reports it as unsupported. Confirmed with another user, too.

Verbose output:

    [debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
    [debug] youtube-dl version 2015.07.07
    [debug] Python version 2.7.8 - Windows-8-6.2.9200
    [debug] exe versions: ffmpeg N-73189-g7728d23, ffprobe N-73189-g7728d23, rtmpdump 2.4
    [debug] Proxy map: {}
    [generic] idsa: Requesting header
    WARNING: Falling back on generic information extractor.
    [generic] idsa: Downloading webpage
    [generic] idsa: Extracting information
    ERROR: Unsupported URL: https://itunes.apple.com/us/post/idsa.4ab17a39-2720-11e5-96c5-a5b38f6c42d3
    Traceback (most recent call last):
      File "youtube_dl\extractor\generic.pyo", line 1092, in _real_extract
      File "youtube_dl\utils.pyo", line 1562, in parse_xml
      File "xml\etree\ElementTree.pyo", line 1300, in XML
      File "xml\etree\ElementTree.pyo", line 1642, in feed
      File "xml\etree\ElementTree.pyo", line 1506, in _raiseerror
    ParseError: not well-formed (invalid token): line 7, column 934
    Traceback (most recent call last):
      File "youtube_dl\YoutubeDL.pyo", line 654, in extract_info
      File "youtube_dl\extractor\common.pyo", line 273, in extract
      File "youtube_dl\extractor\generic.pyo", line 1663, in _real_extract
    UnsupportedError: Unsupported URL: https://itunes.apple.com/us/post/idsa.4ab17a39-2720-11e5-96c5-a5b38f6c42d3
jaimeMF commented 9 years ago

@remixz added support for it, it will be available in the next version.

Fironet commented 9 years ago

Cheers @remixz!

fuzzy76 commented 5 years ago

This isn't really working... It only downloads the 30 second preview.