diff options
author | Tianyi Shi <[email protected]> | 2021-06-20 19:03:21 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-21 01:03:21 +0700 |
commit | 4c77a2e538fb23da116aaba0f51e314ef76feb68 (patch) | |
tree | 75d94d2f692cb5a6c57e8417f9cd769c403d910f | |
parent | 41317030017418c89742594a80c0596c4b26bbb9 (diff) | |
download | youtube-dl-4c77a2e538fb23da116aaba0f51e314ef76feb68.tar.gz youtube-dl-4c77a2e538fb23da116aaba0f51e314ef76feb68.zip |
[bilibili] Strip uploader name (#29202)
-rw-r--r-- | youtube_dl/extractor/bilibili.py | 2 |
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'): |