Skip to content

Commit

Permalink
[YandexMusic] Download music in High Quality (320 Kbit/s)
Browse files Browse the repository at this point in the history
  • Loading branch information
smusatov authored Jul 6, 2024
1 parent 37cea84 commit f4b4775
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions youtube_dl/extractor/yandexmusic.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ def _real_extract(self, url):
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(
Expand Down

0 comments on commit f4b4775

Please sign in to comment.