Yandex.Music downloading run time error #21677

Closed
opened 2026-02-21 11:48:30 -05:00 by deekerman · 4 comments
Owner

Originally created by @audthmbs on GitHub (Sep 22, 2020).

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2020.09.20
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '--username', 'PRIVATE', '--password', 'PRIVATE', 'https://music.yandex.ru/album/4923330']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2020.09.20
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17763
[debug] exe versions: none
[debug] Proxy map: {}
[yandexmusic:album] 4923330: Downloading album JSON
[download] Downloading playlist: Billie Eilish - dont smile at me (2017)
[yandexmusic:album] playlist Billie Eilish - dont smile at me (2017): Collected 9 video ids (downloading 9 of them)
[download] Downloading video 1 of 9
[yandexmusic:track] 36083710: Downloading track JSON
[yandexmusic:track] 36083710: Downloading track location url JSON
[yandexmusic:track] 36083710: Downloading track location JSON
Traceback (most recent call last):
  File "__main__.py", line 19, in <module>
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\__init__.py", line 474, in main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\__init__.py", line 464, in _real_main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\YoutubeDL.py", line 2019, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\YoutubeDL.py", line 808, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\YoutubeDL.py", line 1008, in process_ie_result
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\YoutubeDL.py", line 870, in process_ie_result
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\YoutubeDL.py", line 797, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\extractor\common.py", line 532, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\extractor\yandexmusic.py", line 113, in _real_extract
IndexError: list index out of range

Description

see the Traceback

Originally created by @audthmbs on GitHub (Sep 22, 2020). <!-- ###################################################################### WARNING! IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE ###################################################################### --> ## Checklist <!-- Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl: - First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2020.09.20. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED. - Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser. - Make sure that all URLs and arguments with special characters are properly quoted or escaped as explained in http://yt-dl.org/escape. - Search the bugtracker for similar issues: http://yt-dl.org/search-issues. DO NOT post duplicates. - Finally, put x into all relevant boxes (like this [x]) --> - [x] I'm reporting a broken site support - [x] I've verified that I'm running youtube-dl version **2020.09.20** - [x] I've checked that all provided URLs are alive and playable in a browser - [x] I've checked that all URLs and arguments with special characters are properly quoted or escaped - [x] I've searched the bugtracker for similar issues including closed ones ## Verbose log <!-- Provide the complete verbose output of youtube-dl that clearly demonstrates the problem. Add the `-v` flag to your command line you run youtube-dl with (`youtube-dl -v <your command line>`), copy the WHOLE output and insert it below. It should look similar to this: [debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj'] [debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251 [debug] youtube-dl version 2020.09.20 [debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2 [debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4 [debug] Proxy map: {} <more lines> --> ``` [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', '--username', 'PRIVATE', '--password', 'PRIVATE', 'https://music.yandex.ru/album/4923330'] [debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252 [debug] youtube-dl version 2020.09.20 [debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17763 [debug] exe versions: none [debug] Proxy map: {} [yandexmusic:album] 4923330: Downloading album JSON [download] Downloading playlist: Billie Eilish - dont smile at me (2017) [yandexmusic:album] playlist Billie Eilish - dont smile at me (2017): Collected 9 video ids (downloading 9 of them) [download] Downloading video 1 of 9 [yandexmusic:track] 36083710: Downloading track JSON [yandexmusic:track] 36083710: Downloading track location url JSON [yandexmusic:track] 36083710: Downloading track location JSON Traceback (most recent call last): File "__main__.py", line 19, in <module> File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\__init__.py", line 474, in main File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\__init__.py", line 464, in _real_main File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\YoutubeDL.py", line 2019, in download File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\YoutubeDL.py", line 808, in extract_info File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\YoutubeDL.py", line 1008, in process_ie_result File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\YoutubeDL.py", line 870, in process_ie_result File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\YoutubeDL.py", line 797, in extract_info File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\extractor\common.py", line 532, in extract File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\extractor\yandexmusic.py", line 113, in _real_extract IndexError: list index out of range ``` ## Description <!-- Provide an explanation of your issue in an arbitrary form. Provide any additional information, suggested solution and as much context and examples as possible. If work on your issue requires account credentials please provide them or explain how one can obtain them. --> see the Traceback
deekerman 2026-02-21 11:48:30 -05:00
Author
Owner

@jLapa commented on GitHub (Nov 18, 2020):

I confirm that the previous Fix did not fix problems with Yandex.Music

C:\>youtube-dl.exe https://music.yandex.ru/album/11817010/track/70116183 -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://music.yandex.ru/album/11817010/track/70116183', '-v']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2020.11.18
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: none
[debug] Proxy map: {}
[yandexmusic:track] 70116183: Downloading track JSON
[yandexmusic:track] 70116183: Downloading track location url JSON
[yandexmusic:track] 70116183: Downloading track location JSON
Traceback (most recent call last):
  File "__main__.py", line 19, in <module>
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7fh9ngey\build\youtube_dl\__init__.py", line 474, in main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7fh9ngey\build\youtube_dl\__init__.py", line 464, in _real_main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7fh9ngey\build\youtube_dl\YoutubeDL.py", line 2019, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7fh9ngey\build\youtube_dl\YoutubeDL.py", line 797, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7fh9ngey\build\youtube_dl\extractor\common.py", line 532, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7fh9ngey\build\youtube_dl\extractor\yandexmusic.py", line 113, in _real_extract
IndexError: list index out of range
@jLapa commented on GitHub (Nov 18, 2020): I confirm that the previous Fix did not fix problems with Yandex.Music ``` C:\>youtube-dl.exe https://music.yandex.ru/album/11817010/track/70116183 -v [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['https://music.yandex.ru/album/11817010/track/70116183', '-v'] [debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251 [debug] youtube-dl version 2020.11.18 [debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041 [debug] exe versions: none [debug] Proxy map: {} [yandexmusic:track] 70116183: Downloading track JSON [yandexmusic:track] 70116183: Downloading track location url JSON [yandexmusic:track] 70116183: Downloading track location JSON Traceback (most recent call last): File "__main__.py", line 19, in <module> File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7fh9ngey\build\youtube_dl\__init__.py", line 474, in main File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7fh9ngey\build\youtube_dl\__init__.py", line 464, in _real_main File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7fh9ngey\build\youtube_dl\YoutubeDL.py", line 2019, in download File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7fh9ngey\build\youtube_dl\YoutubeDL.py", line 797, in extract_info File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7fh9ngey\build\youtube_dl\extractor\common.py", line 532, in extract File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7fh9ngey\build\youtube_dl\extractor\yandexmusic.py", line 113, in _real_extract IndexError: list index out of range ```
Author
Owner

@Sality777 commented on GitHub (Nov 19, 2020):

@dstftw
$ ydl -v --cookies /tmp/yandex.cookies https://music.yandex.ru/album/4923330
[debug] System config: []
[debug] User config: ['--external-downloader', 'aria2c']
[debug] Custom config: []
[debug] Command-line args: ['-v', '--cookies', '/tmp/yandex.cookies', 'https://music.yandex.ru/album/4923330']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.11.19
[debug] Git HEAD: 039e715b3
[debug] Python version 3.8.6 (CPython) - Linux-5.9.8-arch1-1-x86_64-with-glibc2.2.5
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1, rtmpdump 2.4
[debug] Proxy map: {}
[yandexmusic:album] 4923330: Downloading album JSON
[download] Downloading playlist: Billie Eilish - dont smile at me (2017)
[yandexmusic:album] playlist Billie Eilish - dont smile at me (2017): Collected 9 video ids (downloading 9 of them)
[download] Downloading video 1 of 9
[yandexmusic:track] 36083710: Downloading track JSON
[yandexmusic:track] 36083710: Downloading track location url JSON
[yandexmusic:track] 36083710: Downloading track location JSON
Traceback (most recent call last):

File "/home/dstftw_Serega_ty_zayebal_ignorirovat_russkoyazychnyye_sayty/.src/youtube-dl/youtube_dl/main.py", line 19, in
youtube_dl.main()
File "/home/dstftw_Serega_ty_zayebal_ignorirovat_russkoyazychnyye_sayty/.src/youtube-dl/youtube_dl/init.py", line 474, in main
_real_main(argv)
File "/home/dstftw_Serega_ty_zayebal_ignorirovat_russkoyazychnyye_sayty/.src/youtube-dl/youtube_dl/init.py", line 464, in _real_main
retcode = ydl.download(all_urls)
File "/home/dstftw_Serega_ty_zayebal_ignorirovat_russkoyazychnyye_sayty/.src/youtube-dl/youtube_dl/YoutubeDL.py", line 2018, in download
res = self.extract_info(
File "/home/dstftw_Serega_ty_zayebal_ignorirovat_russkoyazychnyye_sayty/.src/youtube-dl/youtube_dl/YoutubeDL.py", line 808, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/home/dstftw_Serega_ty_zayebal_ignorirovat_russkoyazychnyye_sayty/.src/youtube-dl/youtube_dl/YoutubeDL.py", line 1006, in process_ie_result
entry_result = self.process_ie_result(entry,
File "/home/dstftw_Serega_ty_zayebal_ignorirovat_russkoyazychnyye_sayty/.src/youtube-dl/youtube_dl/YoutubeDL.py", line 867, in process_ie_result
return self.extract_info(ie_result['url'],
File "/home/dstftw_Serega_ty_zayebal_ignorirovat_russkoyazychnyye_sayty/.src/youtube-dl/youtube_dl/YoutubeDL.py", line 797, in extract_info
ie_result = ie.extract(url)
File "/home/dstftw_Serega_ty_zayebal_ignorirovat_russkoyazychnyye_sayty/.src/youtube-dl/youtube_dl/extractor/common.py", line 532, in extract
ie_result = self._real_extract(url)
File "/home/dstftw_Serega_ty_zayebal_ignorirovat_russkoyazychnyye_sayty/.src/youtube-dl/youtube_dl/extractor/yandexmusic.py", line 113, in _real_extract
f_url = 'http://%s/get-mp3/%s/%s?track-id=%s ' % (fd_data['host'], key, fd_data['ts'] + fd_data['path'], storage[1])
IndexError: list index out of range

@Sality777 commented on GitHub (Nov 19, 2020): @dstftw $ ydl -v --cookies /tmp/yandex.cookies https://music.yandex.ru/album/4923330 [debug] System config: [] [debug] User config: ['--external-downloader', 'aria2c'] [debug] Custom config: [] [debug] Command-line args: ['-v', '--cookies', '/tmp/yandex.cookies', 'https://music.yandex.ru/album/4923330'] [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 [debug] youtube-dl version 2020.11.19 [debug] Git HEAD: 039e715b3 [debug] Python version 3.8.6 (CPython) - Linux-5.9.8-arch1-1-x86_64-with-glibc2.2.5 [debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1, rtmpdump 2.4 [debug] Proxy map: {} [yandexmusic:album] 4923330: Downloading album JSON [download] Downloading playlist: Billie Eilish - dont smile at me (2017) [yandexmusic:album] playlist Billie Eilish - dont smile at me (2017): Collected 9 video ids (downloading 9 of them) [download] Downloading video 1 of 9 [yandexmusic:track] 36083710: Downloading track JSON [yandexmusic:track] 36083710: Downloading track location url JSON [yandexmusic:track] 36083710: Downloading track location JSON Traceback (most recent call last): > File "/home/dstftw_Serega_ty_zayebal_ignorirovat_russkoyazychnyye_sayty/.src/youtube-dl/youtube_dl/__main__.py", line 19, in <module> > youtube_dl.main() > File "/home/dstftw_Serega_ty_zayebal_ignorirovat_russkoyazychnyye_sayty/.src/youtube-dl/youtube_dl/__init__.py", line 474, in main > _real_main(argv) > File "/home/dstftw_Serega_ty_zayebal_ignorirovat_russkoyazychnyye_sayty/.src/youtube-dl/youtube_dl/__init__.py", line 464, in _real_main > retcode = ydl.download(all_urls) > File "/home/dstftw_Serega_ty_zayebal_ignorirovat_russkoyazychnyye_sayty/.src/youtube-dl/youtube_dl/YoutubeDL.py", line 2018, in download > res = self.extract_info( > File "/home/dstftw_Serega_ty_zayebal_ignorirovat_russkoyazychnyye_sayty/.src/youtube-dl/youtube_dl/YoutubeDL.py", line 808, in extract_info > return self.process_ie_result(ie_result, download, extra_info) > File "/home/dstftw_Serega_ty_zayebal_ignorirovat_russkoyazychnyye_sayty/.src/youtube-dl/youtube_dl/YoutubeDL.py", line 1006, in process_ie_result > entry_result = self.process_ie_result(entry, > File "/home/dstftw_Serega_ty_zayebal_ignorirovat_russkoyazychnyye_sayty/.src/youtube-dl/youtube_dl/YoutubeDL.py", line 867, in process_ie_result > return self.extract_info(ie_result['url'], > File "/home/dstftw_Serega_ty_zayebal_ignorirovat_russkoyazychnyye_sayty/.src/youtube-dl/youtube_dl/YoutubeDL.py", line 797, in extract_info > ie_result = ie.extract(url) > File "/home/dstftw_Serega_ty_zayebal_ignorirovat_russkoyazychnyye_sayty/.src/youtube-dl/youtube_dl/extractor/common.py", line 532, in extract > ie_result = self._real_extract(url) > File "/home/dstftw_Serega_ty_zayebal_ignorirovat_russkoyazychnyye_sayty/.src/youtube-dl/youtube_dl/extractor/yandexmusic.py", line 113, in _real_extract > f_url = 'http://%s/get-mp3/%s/%s?track-id=%s ' % (fd_data['host'], key, fd_data['ts'] + fd_data['path'], storage[1]) > IndexError: list index out of range >
Author
Owner

@Sality777 commented on GitHub (Nov 22, 2020):

@dstftw @remitamine
Is the fix for this error being ignored due to geographic restrictions?
Need some help? Provide a Russian VPN & proxy?

@Sality777 commented on GitHub (Nov 22, 2020): @dstftw @remitamine Is the fix for this error being ignored due to geographic restrictions? Need some help? Provide a Russian VPN & proxy?
Author
Owner

@ildar commented on GitHub (Nov 23, 2020):

The fix works just fine for me. What prevents it from merging?

@ildar commented on GitHub (Nov 23, 2020): The fix works just fine for me. What prevents it from merging?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#21677
No description provided.