aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/weibo.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/weibo.py')
-rw-r--r--hypervideo_dl/extractor/weibo.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/hypervideo_dl/extractor/weibo.py b/hypervideo_dl/extractor/weibo.py
index 621df5b..dafa2af 100644
--- a/hypervideo_dl/extractor/weibo.py
+++ b/hypervideo_dl/extractor/weibo.py
@@ -73,8 +73,7 @@ class WeiboIE(InfoExtractor):
webpage = self._download_webpage(
url, video_id, note='Revisiting webpage')
- title = self._html_search_regex(
- r'<title>(.+?)</title>', webpage, 'title')
+ title = self._html_extract_title(webpage)
video_formats = compat_parse_qs(self._search_regex(
r'video-sources=\\\"(.+?)\"', webpage, 'video_sources'))