Browse Source

[condenast] fix video info regex

totalwebcasting
remitamine 9 years ago
committed by Sergey M․
parent
commit
2949a6cda9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/condenast.py

+ 1
- 1
youtube_dl/extractor/condenast.py 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 = [{


Loading…
Cancel
Save