]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[fusion] Update ooyala id regex
authorvordep <up201303880@fe.up.pt>
Sun, 4 Dec 2016 23:53:49 +0000 (23:53 +0000)
committerSergey M․ <dstftw@gmail.com>
Mon, 5 Dec 2016 15:43:36 +0000 (22:43 +0700)
youtube_dl/extractor/fusion.py

index b4ab4cbb7e0e86ea9a5ff43a02dfa0ec61e3d25e..ede729b5262c286c347b544fe7493bea020b5afd 100644 (file)
@@ -29,7 +29,7 @@ class FusionIE(InfoExtractor):
         webpage = self._download_webpage(url, display_id)
 
         ooyala_code = self._search_regex(
-            r'data-video-id=(["\'])(?P<code>.+?)\1',
+            r'data-ooyala-id=(["\'])(?P<code>(?:(?!\1).)+)\1',
             webpage, 'ooyala code', group='code')
 
         return OoyalaIE._build_url_result(ooyala_code)