aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/closertotruth.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/closertotruth.py')
-rw-r--r--hypervideo_dl/extractor/closertotruth.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/hypervideo_dl/extractor/closertotruth.py b/hypervideo_dl/extractor/closertotruth.py
index 26243d5..517e121 100644
--- a/hypervideo_dl/extractor/closertotruth.py
+++ b/hypervideo_dl/extractor/closertotruth.py
@@ -54,8 +54,7 @@ class CloserToTruthIE(InfoExtractor):
r'<script[^>]+src=["\'].*?\b(?:partner_id|p)/(\d+)',
webpage, 'kaltura partner_id')
- title = self._search_regex(
- r'<title>(.+?)\s*\|\s*.+?</title>', webpage, 'video title')
+ title = self._html_extract_title(webpage, 'video title')
select = self._search_regex(
r'(?s)<select[^>]+id="select-version"[^>]*>(.+?)</select>',