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

[yandexmusic] Add support for artist's tracks #11887

Closed
4 of 8 tasks
telkel opened this issue Jan 30, 2017 · 0 comments
Closed
4 of 8 tasks

[yandexmusic] Add support for artist's tracks #11887

telkel opened this issue Jan 30, 2017 · 0 comments
Labels

Comments

@telkel
Copy link

telkel commented Jan 30, 2017


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

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

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

user@host $ youtube-dl -v https://music.yandex.ru/artist/617526/tracks
[debug] System config: []
[debug] User config: [u'--output', u'%(title)s.id=%(id)s.fmt=%(format)s.%(ext)s', u'--format', u'best[height<=?1080]', u'--rate-limit', u'1000K', u'--sleep-interval', u'2', u'--no-overwrites', u'--write-description']
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://music.yandex.ru/artist/617526/tracks']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.01.29
[debug] Python version 2.7.12 - Linux-4.4.0-59-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: avconv 2.8.10-0ubuntu0.16.04.1, avprobe 2.8.10-0ubuntu0.16.04.1, ffmpeg 2.8.10-0ubuntu0.16.04.1, ffprobe 2.8.10-0ubuntu0.16.04.1, rtmpdump 2.4
[debug] Proxy map: {}
[generic] tracks: Requesting header
WARNING: Falling back on generic information extractor.
[generic] tracks: Downloading webpage
[generic] tracks: Extracting information
ERROR: Unsupported URL: https://music.yandex.ru/artist/617526/tracks
Traceback (most recent call last):
  File "/home/people/dig/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1711, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/home/people/dig/bin/youtube-dl/youtube_dl/compat.py", line 2526, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
  File "/home/people/dig/bin/youtube-dl/youtube_dl/compat.py", line 2515, in _XML
    parser.feed(text)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1653, in feed
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1517, in _raiseerror
    raise err
ParseError: mismatched tag: line 32, column 6
Traceback (most recent call last):
  File "/home/people/dig/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 694, in extract_info
    ie_result = ie.extract(url)
  File "/home/people/dig/bin/youtube-dl/youtube_dl/extractor/common.py", line 369, in extract
    return self._real_extract(url)
  File "/home/people/dig/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2551, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: https://music.yandex.ru/artist/617526/tracks

Starndard output of youtube-dl -v --dump-pages https://music.yandex.ru/artist/617526/tracks is in gist:5e880dc04f3101a2969e3bd9d14f48f4 .


Description of your issue, suggested solution and other information

Apparently, I can't download tracks, but can successfully download one track:

user@host $ **youtube-dl -v https://music.yandex.ru/album/345642/track/3269099**
[debug] System config: []
[debug] User config: [u'--output', u'%(title)s.id=%(id)s.fmt=%(format)s.%(ext)s', u'--format', u'best[height<=?1080]', u'--rate-limit', u'1000K', u'--sleep-interval', u'2', u'--no-overwrites', u'--write-description']
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://music.yandex.ru/album/345642/track/3269099']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.01.29
[debug] Python version 2.7.12 - Linux-4.4.0-59-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: avconv 2.8.10-0ubuntu0.16.04.1, avprobe 2.8.10-0ubuntu0.16.04.1, ffmpeg 2.8.10-0ubuntu0.16.04.1, ffprobe 2.8.10-0ubuntu0.16.04.1, rtmpdump 2.4
[debug] Proxy map: {}
[yandexmusic:track] 3269099: Downloading track JSON
[yandexmusic:track] 3269099: Downloading track location JSON
WARNING: There's no description to write.
[debug] Invoking downloader on u'http://s09f.storage.yandex.net/get-mp3/1fd68d210b46303be7f307b4c391786d/000547583936ee95/music/11/2/data-0.7:13694250131:497161?track-id=3269099&from=service-10-track&similarities-experiment=default'
[download] Sleeping 2.0 seconds...
[download] Destination: Ringtone Hits - Who Let the Dogs Out.id=3269099.fmt=0 - unknown.mp3
[download] 100% of 485.51KiB in 00:00
user@host $ 
@dstftw dstftw changed the title unable to download music from yandexmusic [yandexmusic] Add support for artist's tracks Jan 31, 2017
@ytdl-org ytdl-org locked and limited conversation to collaborators Jan 31, 2017
@dstftw dstftw closed this as completed in 6da0e5e Nov 29, 2020
ThirumalaiK pushed a commit to ThirumalaiK/youtube-dl that referenced this issue Jan 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants