Skip to content

Commit

Permalink
[bitchute] Fix uploader extraction (#21076)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zer0C001 authored and meunierd committed Feb 13, 2020
1 parent b07ca5d commit 39164e6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions youtube_dl/extractor/bitchute.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ def _real_extract(self, url):
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,
Expand Down

0 comments on commit 39164e6

Please sign in to comment.