mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-08 01:13:15 +00:00
parent
ab6057ec80
commit
8790ea7b25
|
@ -158,7 +158,7 @@ def _fetch_page(self, playlist_id, page_idx):
|
||||||
return self._download_json(
|
return self._download_json(
|
||||||
'https://www.ximalaya.com/revision/album/v1/getTracksList',
|
'https://www.ximalaya.com/revision/album/v1/getTracksList',
|
||||||
playlist_id, note=f'Downloading tracks list page {page_idx}',
|
playlist_id, note=f'Downloading tracks list page {page_idx}',
|
||||||
query={'albumId': playlist_id, 'pageNum': page_idx, 'sort': 1})['data']
|
query={'albumId': playlist_id, 'pageNum': page_idx})['data']
|
||||||
|
|
||||||
def _get_entries(self, page_data):
|
def _get_entries(self, page_data):
|
||||||
for e in page_data['tracks']:
|
for e in page_data['tracks']:
|
||||||
|
|
Loading…
Reference in a new issue