1
0
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-12-17 15:06:39 +00:00

[fusion] Update ooyala id regex

This commit is contained in:
vordep 2016-12-04 23:53:49 +00:00 committed by Sergey M․
parent 4bd7d9d4ae
commit 3ed81714d8
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View 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)