diff options
author | Georgi Saev <[email protected]> | 2019-05-22 23:51:50 +0300 |
---|---|---|
committer | Sergey M <[email protected]> | 2019-05-23 03:51:50 +0700 |
commit | bbf1defe586f4b4cb7b35aa3da67c5dc786d9a2c (patch) | |
tree | 11ce3cdc4f006ee28d0d8945559a5cf5b9d83666 | |
parent | 186d185b6ecdee102866777121d6abe9ed7f59ba (diff) | |
download | youtube-dl-bbf1defe586f4b4cb7b35aa3da67c5dc786d9a2c.tar.gz youtube-dl-bbf1defe586f4b4cb7b35aa3da67c5dc786d9a2c.zip |
[bitchute] Fix uploader extraction (#21076)
-rw-r--r-- | youtube_dl/extractor/bitchute.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/youtube_dl/extractor/bitchute.py b/youtube_dl/extractor/bitchute.py index 4f39424f5..1d69dafbd 100644 --- a/youtube_dl/extractor/bitchute.py +++ b/youtube_dl/extractor/bitchute.py @@ -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)<p\b[^>]+\bclass=["\']video-author[^>]+>(.+?)</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, |