aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/mojvideo.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/mojvideo.py')
-rw-r--r--hypervideo_dl/extractor/mojvideo.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/hypervideo_dl/extractor/mojvideo.py b/hypervideo_dl/extractor/mojvideo.py
index 0421f3f..16d9405 100644
--- a/hypervideo_dl/extractor/mojvideo.py
+++ b/hypervideo_dl/extractor/mojvideo.py
@@ -38,8 +38,7 @@ class MojvideoIE(InfoExtractor):
r'<errordesc>([^<]*)</errordesc>', playerapi, 'error description', fatal=False)
raise ExtractorError('%s said: %s' % (self.IE_NAME, error_desc), expected=True)
- title = self._html_search_regex(
- r'<title>([^<]+)</title>', playerapi, 'title')
+ title = self._html_extract_title(playerapi)
video_url = self._html_search_regex(
r'<file>([^<]+)</file>', playerapi, 'video URL')
thumbnail = self._html_search_regex(