Skip to content

Commit

Permalink
[bilibili] Strip uploader name (#29202)
Browse files Browse the repository at this point in the history
  • Loading branch information
TianyiShi2001 authored Jun 20, 2021
1 parent 4131703 commit 4c77a2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/bilibili.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def _real_extract(self, url):
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'):
Expand Down

0 comments on commit 4c77a2e

Please sign in to comment.