[extractor/ximalaya] Sort playlist entries (#7292)

Authored by: linsui
This commit is contained in:
linsui 2023-06-12 08:02:50 +00:00 committed by GitHub
parent ab6057ec80
commit 8790ea7b25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ class XimalayaAlbumIE(XimalayaBaseIE):
return self._download_json(
'https://www.ximalaya.com/revision/album/v1/getTracksList',
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):
for e in page_data['tracks']: