1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-22 13:02:54 +08:00

Update bitchute.py

This commit is contained in:
Sergey M 2019-05-23 03:51:20 +07:00 committed by GitHub
parent ff24f33b8f
commit 3c1bbd122e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,8 +65,9 @@ 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.*<p\b[^>]+\bclass=["\']name[^>]+>(.+?)</p>', webpage,
'uploader', fatal=False)
(r'(?s)<div class=["\']channel-banner.*?<p\b[^>]+\bclass=["\']name[^>]+>(.+?)</p>',
r'(?s)<p\b[^>]+\bclass=["\']video-author[^>]+>(.+?)</p>'),
webpage, 'uploader', fatal=False)
return {
'id': video_id,