aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Wilk <jwilk@jwilk.net>2017-01-14 00:26:11 +0100
committerSergey M <dstftw@gmail.com>2017-01-14 06:26:11 +0700
commit4f66c16f337f3b2250d369b56bc31cfd7de06f89 (patch)
tree1789dea97be7012ab7108aab976427e3cc27b2c5
parente54fc0524ebf7e3ec02fbd22f00fce466c952791 (diff)
[brightcove:legacy] Fix misplaced backslash in a regexp
-rw-r--r--youtube_dl/extractor/brightcove.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/brightcove.py b/youtube_dl/extractor/brightcove.py
index aa2923ccf..2e56d1df9 100644
--- a/youtube_dl/extractor/brightcove.py
+++ b/youtube_dl/extractor/brightcove.py
@@ -204,7 +204,7 @@ class BrightcoveLegacyIE(InfoExtractor):
# // 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