[brightcove] Improve brightcove experience regex (Closes #5421)
authorSergey M․ <dstftw@gmail.com>
Tue, 14 Apr 2015 11:48:41 +0000 (17:48 +0600)
committerSergey M․ <dstftw@gmail.com>
Tue, 14 Apr 2015 11:48:41 +0000 (17:48 +0600)
youtube_dl/extractor/brightcove.py

index 0733bece7c45880ab5c20b916d5bd8c9700da548..b37857b2e543376c16349ad43f0fea0b358ad3af 100644 (file)
@@ -183,7 +183,7 @@ class BrightcoveIE(InfoExtractor):
             (?:
                 [^>]+?class=[\'"][^>]*?BrightcoveExperience.*?[\'"] |
                 [^>]*?>\s*<param\s+name="movie"\s+value="https?://[^/]*brightcove\.com/
-            ).+?</object>''',
+            ).+?>\s*</object>''',
             webpage)
         return [cls._build_brighcove_url(m) for m in matches]