mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-01 02:37:25 +01:00
Don't be too clever (Fixes Python 3)
This commit is contained in:
parent
acb8752f80
commit
691db5ba02
@ -1741,8 +1741,7 @@ class YoutubePlaylistIE(InfoExtractor):
|
|||||||
break
|
break
|
||||||
page_num += 1
|
page_num += 1
|
||||||
|
|
||||||
videos = map(operator.itemgetter(1), sorted(videos))
|
videos = [v[1] for v in sorted(videos)]
|
||||||
|
|
||||||
total = len(videos)
|
total = len(videos)
|
||||||
|
|
||||||
playliststart = self._downloader.params.get('playliststart', 1) - 1
|
playliststart = self._downloader.params.get('playliststart', 1) - 1
|
||||||
|
Loading…
Reference in New Issue
Block a user