diff options
author | Remita Amine <remitamine@gmail.com> | 2018-11-18 16:15:10 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2018-11-18 16:15:27 +0100 |
commit | 8578ea4dcb17834ee3843e0e337c15af706f9803 (patch) | |
tree | 6cf9008dbc8e5223127be7116d96be8e95e18b19 | |
parent | 9b27a78a881bceb9d62f3364399d7572e8e2be24 (diff) |
[bitchute] use _html_search_regex for title extraction
-rw-r--r-- | youtube_dl/extractor/bitchute.py | 2 |
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', |