commit: f4b47754d9716dbe61372d75e85e965328335ec9
parent 37cea84f775129ad715b9bcd617251c831fcc980
Author: Sergey Musatov <akapulse@yandex.ru>
Date: Sat, 6 Jul 2024 13:04:36 +0300
[YandexMusic] Download music in High Quality (320 Kbit/s)
PR #31159
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/youtube_dl/extractor/yandexmusic.py b/youtube_dl/extractor/yandexmusic.py
@@ -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(