1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-06 09:27:29 +00:00

[YandexMusic] Download music in High Quality (320 Kbit/s)

PR #31159
This commit is contained in:
Sergey Musatov 2024-07-06 13:04:36 +03:00 committed by GitHub
parent 37cea84f77
commit f4b47754d9
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( 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), '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', track_id, 'Downloading track location url JSON',
query={'hq': 1},
headers={'X-Retpath-Y': url}) headers={'X-Retpath-Y': url})
fd_data = self._download_json( fd_data = self._download_json(