projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fade059
)
Accept my_playlists syntax for playlists
author
Ricardo Garcia
<sarbalap+freshmeat@gmail.com>
Wed, 12 Aug 2009 21:15:22 +0000
(23:15 +0200)
committer
Ricardo Garcia
<sarbalap+freshmeat@gmail.com>
Sun, 31 Oct 2010 10:24:48 +0000
(11:24 +0100)
youtube-dl
patch
|
blob
|
history
diff --git
a/youtube-dl
b/youtube-dl
index e3dafad690587997360da9c14893106c4605fba9..50b9197f2f9ba8d1db53226ccc5830e937f62fcc 100755
(executable)
--- a/
youtube-dl
+++ b/
youtube-dl
@@
-966,7
+966,7
@@
class YoutubeSearchIE(InfoExtractor):
class YoutubePlaylistIE(InfoExtractor):
"""Information Extractor for YouTube playlists."""
- _VALID_URL = r'(?:http://)?(?:\w+\.)?youtube.com/
view_play_list\?p=(.+)
'
+ _VALID_URL = r'(?:http://)?(?:\w+\.)?youtube.com/
(?:view_play_list|my_playlists)\?.*?p=([^&]+).*
'
_TEMPLATE_URL = 'http://www.youtube.com/view_play_list?p=%s&page=%s&gl=US&hl=en'
_VIDEO_INDICATOR = r'/watch\?v=(.+?)&'
_MORE_PAGES_INDICATOR = r'/view_play_list?p=%s&page=%s'