1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-24 03:01:53 +00:00

[brightcove:legacy] Fix misplaced backslash in a regexp

This commit is contained in:
Jakub Wilk 2017-01-14 00:26:11 +01:00 committed by Sergey M
parent e54fc0524e
commit 4f66c16f33

View file

@ -204,7 +204,7 @@ class BrightcoveLegacyIE(InfoExtractor):
# // build Brightcove <object /> XML # // build Brightcove <object /> XML
# } # }
m = re.search( m = re.search(
r'''(?x)customBC.\createVideo\( r'''(?x)customBC\.createVideo\(
.*? # skipping width and height .*? # skipping width and height
["\'](?P<playerID>\d+)["\']\s*,\s* # playerID ["\'](?P<playerID>\d+)["\']\s*,\s* # playerID
["\'](?P<playerKey>AQ[^"\']{48})[^"\']*["\']\s*,\s* # playerKey begins with AQ and is 50 characters ["\'](?P<playerKey>AQ[^"\']{48})[^"\']*["\']\s*,\s* # playerKey begins with AQ and is 50 characters