From cedd5da48c1b61c2bc82ac6837f220ed14c21ebf Mon Sep 17 00:00:00 2001 From: Dimitrios Semitsoglou-Tsiapos Date: Sun, 27 Jan 2019 17:43:05 +0100 Subject: [PATCH] piapro: suppoert uploader name without honorific --- youtube_dl/extractor/piapro.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/youtube_dl/extractor/piapro.py b/youtube_dl/extractor/piapro.py index 7ee7253bf..85f1b4efb 100644 --- a/youtube_dl/extractor/piapro.py +++ b/youtube_dl/extractor/piapro.py @@ -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,