From: Tianyi Shi Date: Sun, 20 Jun 2021 18:03:21 +0000 (+0100) Subject: [bilibili] Strip uploader name (#29202) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=4c77a2e538fb23da116aaba0f51e314ef76feb68;p=youtube-dl [bilibili] Strip uploader name (#29202) --- diff --git a/youtube_dl/extractor/bilibili.py b/youtube_dl/extractor/bilibili.py index 589fdc1ce..bff6ea194 100644 --- a/youtube_dl/extractor/bilibili.py +++ b/youtube_dl/extractor/bilibili.py @@ -233,7 +233,7 @@ class BiliBiliIE(InfoExtractor): webpage) if uploader_mobj: info.update({ - 'uploader': uploader_mobj.group('name'), + 'uploader': uploader_mobj.group('name').strip(), 'uploader_id': uploader_mobj.group('id'), }) if not info.get('uploader'):