diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2014-01-25 11:48:08 +0100 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2014-01-25 11:48:08 +0100 |
commit | 59188de1136208cb6c06113a6af0708d3544b87f (patch) | |
tree | 578818386660d940cbfddc0fa4bbdbcf4a09d909 /youtube_dl/extractor/condenast.py | |
parent | 352d08e3e51011975a6c45bc60842a18f28e96ef (diff) |
Properly escape ‘.’ in some _VALID_URL properties
Diffstat (limited to 'youtube_dl/extractor/condenast.py')
-rw-r--r-- | youtube_dl/extractor/condenast.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/condenast.py b/youtube_dl/extractor/condenast.py index 03b75b80d..91c1c1348 100644 --- a/youtube_dl/extractor/condenast.py +++ b/youtube_dl/extractor/condenast.py @@ -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 = { |