projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e54fc05
)
[brightcove:legacy] Fix misplaced backslash in a regexp
author
Jakub Wilk
<jwilk@jwilk.net>
Fri, 13 Jan 2017 23:26:11 +0000
(
00:26
+0100)
committer
Sergey M
<dstftw@gmail.com>
Fri, 13 Jan 2017 23:26:11 +0000
(06:26 +0700)
youtube_dl/extractor/brightcove.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/brightcove.py
b/youtube_dl/extractor/brightcove.py
index aa2923ccf72b35c1346ef58e1a8bd7f5a7ab12e0..2e56d1df9ac42eb7ad325b16f22bfcdbaa5e2530 100644
(file)
--- 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