mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-30 12:01:28 +00:00
flake8
This commit is contained in:
parent
d23f9ec7eb
commit
4b819d1454
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue