0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-23 02:25:11 +00:00
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 .kaltura import KalturaIE
from ..utils import (
HEADRequest,
sanitized_Request,
smuggle_url,
urlencode_postdata,
)
@ -139,7 +137,7 @@ def _real_extract(self, url):
PLAYER_REGEX = r'<iframe src=\"(?P<manifest_url>.*?)\".*?</iframe>'
manifest_url = self._html_search_regex(
PLAYER_REGEX, webpage, 'manifest_url')
PLAYER_REGEX, webpage, 'manifest_url')
partner_id = self._search_regex(
r'/p(?:artner_id)?/(\d+)', manifest_url, 'partner id',
@ -156,4 +154,4 @@ def _real_extract(self, url):
'id': video_id,
'display_id': display_id,
'title': title,
}
}