[youtube:shared] Relax _VALID_URL

This commit is contained in:
Sergey M․ 2016-07-21 22:58:34 +07:00
parent 9158af16cc
commit fd8c8c7dcd
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -1736,7 +1736,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
class YoutubeSharedVideoIE(InfoExtractor): 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' IE_NAME = 'youtube:shared'
_TEST = { _TEST = {