Skip to content

A feature-rich command-line audio/video downloader

Don't be too clever (Fixes Python 3)

Philipp Hagemeister691db5ba02d3
diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py
index d525063898..a94648dcf8 100755
--- a/youtube_dl/InfoExtractors.py
+++ b/youtube_dl/InfoExtractors.py
@@ -1741,8 +1741,7 @@ class YoutubePlaylistIE(InfoExtractor):
break
page_num += 1
- videos = map(operator.itemgetter(1), sorted(videos))
-
+ videos = [v[1] for v in sorted(videos)]
total = len(videos)
playliststart = self._downloader.params.get('playliststart', 1) - 1