projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cdfbbf
)
[huajiao] Improve feed regex
author
Sergey M․
<dstftw@gmail.com>
Sat, 15 Oct 2016 20:02:41 +0000
(
03:02
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 15 Oct 2016 20:02:41 +0000
(
03:02
+0700)
youtube_dl/extractor/huajiao.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/huajiao.py
b/youtube_dl/extractor/huajiao.py
index c17cbb624a29778cb6c312265691a0f124feaff9..cec0df09a1e78dcff6d2ed4118200e96a55b0050 100644
(file)
--- a/
youtube_dl/extractor/huajiao.py
+++ b/
youtube_dl/extractor/huajiao.py
@@
-33,7
+33,7
@@
class HuajiaoIE(InfoExtractor):
webpage = self._download_webpage(url, video_id)
feed_json = self._search_regex(
- r'var\s
*feed\s*=\s*({.*})', webpage, 'feed json str
')
+ r'var\s
+feed\s*=\s*({.+})', webpage, 'feed json
')
feed = self._parse_json(feed_json, video_id)
description = self._html_search_meta(