Compare commits

...

2 Commits

Author SHA1 Message Date
Sergey Musatov
0b32b2c18f
Merge 4b519d9a92 into 0153b387e5 2024-06-14 10:06:44 +00:00
SMusatov
4b519d9a92 [YandexMusic] downloads music in High Quality (320 Kbit/s) 2022-08-11 07:13:58 +03:00

View File

@ -120,6 +120,7 @@ class YandexMusicTrackIE(YandexMusicBaseIE):
download_data = self._download_json(
'https://music.yandex.ru/api/v2.1/handlers/track/%s:%s/web-album_track-track-track-main/download/m' % (track_id, album_id),
track_id, 'Downloading track location url JSON',
query={'hq': 1},
headers={'X-Retpath-Y': url})
fd_data = self._download_json(