projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
882fc90
)
[condenast] fix video info regex
author
remitamine
<remitamine@gmail.com>
Thu, 24 Sep 2015 14:54:23 +0000
(15:54 +0100)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 24 Sep 2015 23:11:48 +0000
(
05:11
+0600)
youtube_dl/extractor/condenast.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/condenast.py
b/youtube_dl/extractor/condenast.py
index 22c66da266396e4a0cd06473e4888fe701ccf9e7..d1380ac8da0812075ef474803c5147afcba720f7 100644
(file)
--- 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 = [{