From: remitamine Date: Thu, 24 Sep 2015 14:54:23 +0000 (+0100) Subject: [condenast] fix video info regex X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=2949a6cda9c39b3ff32891bdf0d6b48c46973f82;p=youtube-dl [condenast] fix video info regex --- 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 = [{