mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-27 06:10:38 +01:00
Allow for white spaces around .
, (
, )
, [
, ]
and ,
https://github.com/ytdl-org/youtube-dl/pull/29897#pullrequestreview-744861659
This commit is contained in:
parent
6d88c72317
commit
6f08b513bf
|
@ -431,7 +431,7 @@ Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
|
|||
raise ExtractorError(note_m)
|
||||
|
||||
mobj = re.search(
|
||||
r'Page\.messaging_box_controller\.addItems\(\[(?P<msg>{(?!.*},{).+?})\]\)',
|
||||
r'Page\s*\.\s*messaging_box_controller\s*\.\s*addItems\s*\(\s*\[\s*(?P<msg>{(?!.*}\s*,\s*{).+?})\s*\]\s*\)',
|
||||
webpage)
|
||||
|
||||
if mobj:
|
||||
|
|
Loading…
Reference in New Issue
Block a user