1
0
Fork 0
mirror of https://codeberg.org/polarisfm/youtube-dl.git synced 2024-12-28 10:36:50 +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)