This commit is contained in:
Sergey Musatov 2024-06-27 06:36:40 +08:00 committed by GitHub
commit 2258b8b08a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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(