aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/mojvideo.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/mojvideo.py')
-rw-r--r--yt_dlp/extractor/mojvideo.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/yt_dlp/extractor/mojvideo.py b/yt_dlp/extractor/mojvideo.py
index 0421f3f44..16d94052b 100644
--- a/yt_dlp/extractor/mojvideo.py
+++ b/yt_dlp/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(