aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/varzesh3.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/varzesh3.py')
-rw-r--r--hypervideo_dl/extractor/varzesh3.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/hypervideo_dl/extractor/varzesh3.py b/hypervideo_dl/extractor/varzesh3.py
index 81313dc..32655b9 100644
--- a/hypervideo_dl/extractor/varzesh3.py
+++ b/hypervideo_dl/extractor/varzesh3.py
@@ -42,8 +42,7 @@ class Varzesh3IE(InfoExtractor):
video_url = self._search_regex(
r'<source[^>]+src="([^"]+)"', webpage, 'video url')
- title = remove_start(self._html_search_regex(
- r'<title>([^<]+)</title>', webpage, 'title'), 'ویدیو ورزش 3 | ')
+ title = remove_start(self._html_extract_title(webpage), 'ویدیو ورزش 3 | ')
description = self._html_search_regex(
r'(?s)<div class="matn">(.+?)</div>',