aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2018-11-18 16:15:10 +0100
committerRemita Amine <remitamine@gmail.com>2018-11-18 16:15:27 +0100
commit8578ea4dcb17834ee3843e0e337c15af706f9803 (patch)
tree6cf9008dbc8e5223127be7116d96be8e95e18b19 /youtube_dl
parent9b27a78a881bceb9d62f3364399d7572e8e2be24 (diff)
[bitchute] use _html_search_regex for title extraction
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/bitchute.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/bitchute.py b/youtube_dl/extractor/bitchute.py
index 446a1ab19..43b4732aa 100644
--- a/youtube_dl/extractor/bitchute.py
+++ b/youtube_dl/extractor/bitchute.py
@@ -37,7 +37,7 @@ class BitChuteIE(InfoExtractor):
'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.57 Safari/537.36',
})
- title = self._search_regex(
+ title = self._html_search_regex(
(r'<[^>]+\bid=["\']video-title[^>]+>([^<]+)', r'<title>([^<]+)'),
webpage, 'title', default=None) or self._html_search_meta(
'description', webpage, 'title',