projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37cea84
)
[YandexMusic] Download music in High Quality (320 Kbit/s)
author
Sergey Musatov
<akapulse@yandex.ru>
Sat, 6 Jul 2024 10:04:36 +0000
(13:04 +0300)
committer
GitHub
<noreply@github.com>
Sat, 6 Jul 2024 10:04:36 +0000
(11:04 +0100)
PR #31159
youtube_dl/extractor/yandexmusic.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/yandexmusic.py
b/youtube_dl/extractor/yandexmusic.py
index 84969f8e114f99f8c5beab257d0c52fa2c40d7ef..55d4fb5a01a232fd3be98da807b3f0dfa587a2d7 100644
(file)
--- a/
youtube_dl/extractor/yandexmusic.py
+++ b/
youtube_dl/extractor/yandexmusic.py
@@
-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(