Properly escape ‘.’ in some _VALID_URL properties

This commit is contained in:
Jaime Marquínez Ferrándiz 2014-01-25 11:48:08 +01:00
parent 352d08e3e5
commit 59188de113
4 changed files with 8 additions and 8 deletions

View file

@ -30,7 +30,7 @@ class CondeNastIE(InfoExtractor):
'vanityfair': 'Vanity Fair',
}
_VALID_URL = r'http://(video|www).(?P<site>%s).com/(?P<type>watch|series|video)/(?P<id>.+)' % '|'.join(_SITES.keys())
_VALID_URL = r'http://(video|www)\.(?P<site>%s)\.com/(?P<type>watch|series|video)/(?P<id>.+)' % '|'.join(_SITES.keys())
IE_DESC = 'Condé Nast media group: %s' % ', '.join(sorted(_SITES.values()))
_TEST = {