This commit is contained in:
Unknown 2020-09-13 15:21:59 +02:00
parent d23f9ec7eb
commit 4b819d1454

View File

@ -5,9 +5,7 @@
from .common import InfoExtractor from .common import InfoExtractor
from .kaltura import KalturaIE from .kaltura import KalturaIE
from ..utils import ( from ..utils import (
HEADRequest,
sanitized_Request, sanitized_Request,
smuggle_url,
urlencode_postdata, urlencode_postdata,
) )
@ -139,7 +137,7 @@ def _real_extract(self, url):
PLAYER_REGEX = r'<iframe src=\"(?P<manifest_url>.*?)\".*?</iframe>' PLAYER_REGEX = r'<iframe src=\"(?P<manifest_url>.*?)\".*?</iframe>'
manifest_url = self._html_search_regex( manifest_url = self._html_search_regex(
PLAYER_REGEX, webpage, 'manifest_url') PLAYER_REGEX, webpage, 'manifest_url')
partner_id = self._search_regex( partner_id = self._search_regex(
r'/p(?:artner_id)?/(\d+)', manifest_url, 'partner id', r'/p(?:artner_id)?/(\d+)', manifest_url, 'partner id',
@ -156,4 +154,4 @@ def _real_extract(self, url):
'id': video_id, 'id': video_id,
'display_id': display_id, 'display_id': display_id,
'title': title, 'title': title,
} }