diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-10-16 03:02:41 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-10-16 03:02:41 +0700 |
commit | c0b1e88895394cd627898466de8ec42a5c723358 (patch) | |
tree | 2eed259694e72bf1da172ffe2c3d671b4d56d1d0 /youtube_dl/extractor | |
parent | 7cdfbbf9b82748fff6ff614664245837de048ab9 (diff) |
[huajiao] Improve feed regex
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/huajiao.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/huajiao.py b/youtube_dl/extractor/huajiao.py index c17cbb624..cec0df09a 100644 --- 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( |