Skip to content

Commit

Permalink
Merge remote-tracking branch 'smusatov/patch-1' into yandexmusic
Browse files Browse the repository at this point in the history
  • Loading branch information
unkernet committed Jul 5, 2024
2 parents cbb87b1 + 4b519d9 commit 6bbbcaa
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 @@ -142,6 +142,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 6bbbcaa

Please sign in to comment.