1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-21 15:23:13 +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 @@ import re
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 @@ class GDCVaultIE(InfoExtractor):
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 @@ class GDCVaultIE(InfoExtractor):
'id': video_id, 'id': video_id,
'display_id': display_id, 'display_id': display_id,
'title': title, 'title': title,
} }