1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-24 14:03:02 +08:00

piapro: suppoert uploader name without honorific

This commit is contained in:
Dimitrios Semitsoglou-Tsiapos 2019-01-27 17:43:05 +01:00
parent 2a9492b5bf
commit cedd5da48c

View File

@ -47,6 +47,8 @@ class PiaproIE(InfoExtractor):
uploader_without_honorific = re.match('.+(?=さん)', uploader).group(0)
except IndexError:
uploader_without_honorific = None
except AttributeError:
uploader_without_honorific = uploader
return {
'artist': uploader_without_honorific or uploader,