aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2011-11-15 01:39:17 -0800
committerPhilipp Hagemeister <[email protected]>2011-11-15 01:39:17 -0800
commit8b59cc93d57c7f443d83de859ac767456c55debe (patch)
tree8fe77834d30a964a8e06e6a0fb0eab5b4f92f1c5
parentc3e4e7c1822493984e10baa2a9d39fa9dab2842e (diff)
parentabeac45abe7d63bf880e7b99df7287516113c86f (diff)
downloadyoutube-dl-8b59cc93d57c7f443d83de859ac767456c55debe.tar.gz
youtube-dl-8b59cc93d57c7f443d83de859ac767456c55debe.zip
Merge pull request #211 from techtonik/patch-1
Fix duplicated downloads from YouTube user page where watch URLs are not. Thanks to anatoly techtonik.
-rwxr-xr-xyoutube-dl2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube-dl b/youtube-dl
index fb66d64af..1475a203f 100755
--- a/youtube-dl
+++ b/youtube-dl
@@ -2549,7 +2549,7 @@ class YoutubeUserIE(InfoExtractor):
_TEMPLATE_URL = 'http://gdata.youtube.com/feeds/api/users/%s'
_GDATA_PAGE_SIZE = 50
_GDATA_URL = 'http://gdata.youtube.com/feeds/api/users/%s/uploads?max-results=%d&start-index=%d'
- _VIDEO_INDICATOR = r'/watch\?v=(.+?)&'
+ _VIDEO_INDICATOR = r'/watch\?v=(.+?)[\<&]'
_youtube_ie = None
IE_NAME = u'youtube:user'