logo

youtube-dl

[mirror] Download/Watch videos from video hostersgit clone https://hacktivis.me/git/mirror/youtube-dl.git
commit: 4c77a2e538fb23da116aaba0f51e314ef76feb68
parent 41317030017418c89742594a80c0596c4b26bbb9
Author: Tianyi Shi <ShiTianyi2001@outlook.com>
Date:   Sun, 20 Jun 2021 19:03:21 +0100

[bilibili] Strip uploader name (#29202)


Diffstat:

Myoutube_dl/extractor/bilibili.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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'):