]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[youtube:shared] Relax _VALID_URL
authorSergey M․ <dstftw@gmail.com>
Thu, 21 Jul 2016 15:58:34 +0000 (22:58 +0700)
committerSergey M․ <dstftw@gmail.com>
Thu, 21 Jul 2016 15:58:34 +0000 (22:58 +0700)
youtube_dl/extractor/youtube.py

index 49c264c3ab1d7a0815bdfd0108f0ba20d9217633..270ee886133d231bc74a5475c8e58fe7a583b45d 100644 (file)
@@ -1736,7 +1736,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
 
 
 class YoutubeSharedVideoIE(InfoExtractor):
-    _VALID_URL = r'(?:https?:)?//(?:www\.)?youtube\.com/shared\?ci=(?P<id>[0-9A-Za-z_-]{11})'
+    _VALID_URL = r'(?:https?:)?//(?:www\.)?youtube\.com/shared\?.*\bci=(?P<id>[0-9A-Za-z_-]{11})'
     IE_NAME = 'youtube:shared'
 
     _TEST = {