1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-02-10 07:05:33 +08:00

[condenast] fix video info regex

This commit is contained in:
remitamine 2015-09-24 15:54:23 +01:00
parent 4d42fca47d
commit 218436f481

View 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 = [{