1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-09 22:27:45 +08:00

bitchute uploader regex fix 2

This commit is contained in:
Georgi Saev 2019-05-12 23:03:36 +03:00 committed by GitHub
parent 23c60d2c20
commit ff24f33b8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,7 @@ class BitChuteIE(InfoExtractor):
webpage, default=None) or self._html_search_meta(
'twitter:image:src', webpage, 'thumbnail')
uploader = self._html_search_regex(
r'(?s)<div class=["\']channel-banner.*(?s)<p\b[^>]+\bclass=["\']name[^>]+>(.+?)</p>', webpage,
r'(?s)<div class=["\']channel-banner.*<p\b[^>]+\bclass=["\']name[^>]+>(.+?)</p>', webpage,
'uploader', fatal=False)
return {