From 23c60d2c204ab9c854ae838dea39707086a37160 Mon Sep 17 00:00:00 2001 From: Georgi Saev Date: Sun, 12 May 2019 21:24:53 +0300 Subject: [PATCH] updated uploader regex The new design of bitchute uses a channel-banner div to display uploader information, breaking the old regex and causing the following warning: WARNING: unable to extract uploader; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. this fixes it. --- youtube_dl/extractor/bitchute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/bitchute.py b/youtube_dl/extractor/bitchute.py index 4f39424f5..86802f3c9 100644 --- a/youtube_dl/extractor/bitchute.py +++ b/youtube_dl/extractor/bitchute.py @@ -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)]+\bclass=["\']video-author[^>]+>(.+?)

', webpage, + r'(?s)
]+\bclass=["\']name[^>]+>(.+?)

', webpage, 'uploader', fatal=False) return {