]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[brightcove:legacy] Fix misplaced backslash in a regexp
authorJakub Wilk <jwilk@jwilk.net>
Fri, 13 Jan 2017 23:26:11 +0000 (00:26 +0100)
committerSergey M <dstftw@gmail.com>
Fri, 13 Jan 2017 23:26:11 +0000 (06:26 +0700)
youtube_dl/extractor/brightcove.py

index aa2923ccf72b35c1346ef58e1a8bd7f5a7ab12e0..2e56d1df9ac42eb7ad325b16f22bfcdbaa5e2530 100644 (file)
@@ -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