flake8
This commit is contained in:
parent
d23f9ec7eb
commit
4b819d1454
1 changed files with 2 additions and 4 deletions
|
@ -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,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue