projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acb8752
)
Don't be too clever (Fixes Python 3)
author
Philipp Hagemeister
<phihag@phihag.de>
Tue, 26 Feb 2013 20:21:50 +0000
(21:21 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Tue, 26 Feb 2013 21:03:43 +0000
(22:03 +0100)
youtube_dl/InfoExtractors.py
patch
|
blob
|
history
diff --git
a/youtube_dl/InfoExtractors.py
b/youtube_dl/InfoExtractors.py
index d52506389807008353e424341b25c7ef406d9a53..a94648dcf8dcdedca1e6e64c7a1cab1383848609 100755
(executable)
--- 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