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