aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2015-09-24 15:54:23 +0100
committerSergey M․ <dstftw@gmail.com>2015-09-25 05:11:48 +0600
commit2949a6cda9c39b3ff32891bdf0d6b48c46973f82 (patch)
tree4a7d874622f830106e30f7607c6a9295cf798543 /youtube_dl
parent882fc9052e310b5ac6675488bba767c43ca2185e (diff)
[condenast] fix video info regex
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/condenast.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/condenast.py b/youtube_dl/extractor/condenast.py
index 22c66da26..d1380ac8d 100644
--- a/youtube_dl/extractor/condenast.py
+++ b/youtube_dl/extractor/condenast.py
@@ -97,7 +97,7 @@ class CondeNastIE(InfoExtractor):
info_url = base_info_url + data
info_page = self._download_webpage(info_url, video_id,
'Downloading video info')
- video_info = self._search_regex(r'var\s*video\s*=\s*({.+?});', info_page, 'video info')
+ video_info = self._search_regex(r'var\s+video\s*=\s*({.+?});', info_page, 'video info')
video_info = self._parse_json(video_info, video_id)
formats = [{