]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[condenast] fix video info regex
authorremitamine <remitamine@gmail.com>
Thu, 24 Sep 2015 14:54:23 +0000 (15:54 +0100)
committerSergey M․ <dstftw@gmail.com>
Thu, 24 Sep 2015 23:11:48 +0000 (05:11 +0600)
youtube_dl/extractor/condenast.py

index 22c66da266396e4a0cd06473e4888fe701ccf9e7..d1380ac8da0812075ef474803c5147afcba720f7 100644 (file)
@@ -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 = [{