mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 00:52:01 +00:00
parent
5f2a7f7c4a
commit
2ebe6fefbe
@ -115,8 +115,7 @@ def _real_extract(self, url):
|
|||||||
|
|
||||||
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(
|
||||||
download_data['src'], track_id,
|
download_data['src'], track_id,
|
||||||
|
Loading…
Reference in New Issue
Block a user