From: Sergey M․ Date: Thu, 21 Jul 2016 15:58:34 +0000 (+0700) Subject: [youtube:shared] Relax _VALID_URL X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=fd8c8c7dcdb722ae0ed96b8ceb4c844c87f2c896;p=youtube-dl [youtube:shared] Relax _VALID_URL --- diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 49c264c3a..270ee8861 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -1736,7 +1736,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor): class YoutubeSharedVideoIE(InfoExtractor): - _VALID_URL = r'(?:https?:)?//(?:www\.)?youtube\.com/shared\?ci=(?P[0-9A-Za-z_-]{11})' + _VALID_URL = r'(?:https?:)?//(?:www\.)?youtube\.com/shared\?.*\bci=(?P[0-9A-Za-z_-]{11})' IE_NAME = 'youtube:shared' _TEST = {