From: Remita Amine Date: Sun, 18 Nov 2018 15:15:10 +0000 (+0100) Subject: [bitchute] use _html_search_regex for title extraction X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=8578ea4dcb17834ee3843e0e337c15af706f9803;p=youtube-dl [bitchute] use _html_search_regex for title extraction --- 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'([^<]+)'), webpage, 'title', default=None) or self._html_search_meta( 'description', webpage, 'title',