From 8267f2fa90554c578de156548ca47f8521ef4f5d Mon Sep 17 00:00:00 2001 From: Matthew Brooks Date: Sun, 24 Nov 2019 14:48:20 -0600 Subject: [PATCH] Allow differing quotation styles, specify whitespace instead of any char. --- 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 6d5334647..e30b94261 100644 --- a/youtube_dl/extractor/bitchute.py +++ b/youtube_dl/extractor/bitchute.py @@ -77,7 +77,7 @@ class BitChuteIE(InfoExtractor): webpage, 'uploader', fatal=False) upload_date = self._html_search_regex( - r'(?s)class="video-publish-date.*?>.*?First published at [0-9]+:[0-9]+ UTC on (.*?)\..*?', + r'(?s)class=["\']video-publish-date.*?>\W*First published at [0-9]+:[0-9]+ UTC on (.*?)\.\W*', webpage, 'upload_date', fatal=False) upload_date = unified_strdate(upload_date)