mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-30 12:01:28 +00:00
[brightcove:legacy] Fix misplaced backslash in a regexp
This commit is contained in:
parent
e54fc0524e
commit
4f66c16f33
|
@ -204,7 +204,7 @@ def _build_brighcove_url_from_js(cls, object_js):
|
|||
# // build Brightcove <object /> XML
|
||||
# }
|
||||
m = re.search(
|
||||
r'''(?x)customBC.\createVideo\(
|
||||
r'''(?x)customBC\.createVideo\(
|
||||
.*? # skipping width and height
|
||||
["\'](?P<playerID>\d+)["\']\s*,\s* # playerID
|
||||
["\'](?P<playerKey>AQ[^"\']{48})[^"\']*["\']\s*,\s* # playerKey begins with AQ and is 50 characters
|
||||
|
|
Loading…
Reference in a new issue