diff --git a/youtube_dl/extractor/crunchyroll.py b/youtube_dl/extractor/crunchyroll.py index bc2d1fa8b..ef9639cbd 100644 --- a/youtube_dl/extractor/crunchyroll.py +++ b/youtube_dl/extractor/crunchyroll.py @@ -430,7 +430,10 @@ Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text if note_m: raise ExtractorError(note_m) - mobj = re.search(r'Page\.messaging_box_controller\.addItems\(\[(?P{.+?})\]\)', webpage) + mobj = re.search( + r'Page\.messaging_box_controller\.addItems\(\[(?P{(?!.*},{).+?})\]\)', + webpage) + if mobj: msg = json.loads(mobj.group('msg')) if msg.get('type') == 'error':