aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTianyi Shi <ShiTianyi2001@outlook.com>2021-06-20 19:03:21 +0100
committerGitHub <noreply@github.com>2021-06-21 01:03:21 +0700
commit4c77a2e538fb23da116aaba0f51e314ef76feb68 (patch)
tree75d94d2f692cb5a6c57e8417f9cd769c403d910f
parent41317030017418c89742594a80c0596c4b26bbb9 (diff)
[bilibili] Strip uploader name (#29202)
-rw-r--r--youtube_dl/extractor/bilibili.py2
1 files changed, 1 insertions, 1 deletions
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'):