mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-12 10:11:07 +01:00
[inc] PEP 8
This commit is contained in:
parent
a572ae6114
commit
0645be49cb
@ -52,7 +52,7 @@ def _real_extract(self, url):
|
|||||||
kaltura_id = self._search_regex(
|
kaltura_id = self._search_regex(
|
||||||
r'id=(["\'])kaltura_player_(?P<id>.+?)\1', webpage, 'kaltura id',
|
r'id=(["\'])kaltura_player_(?P<id>.+?)\1', webpage, 'kaltura id',
|
||||||
default=None, group='id') or self._parse_json(self._search_regex(
|
default=None, group='id') or self._parse_json(self._search_regex(
|
||||||
r'pageInfo\.videos\s*=\s*\[(.+)\];', webpage, 'kaltura id'),
|
r'pageInfo\.videos\s*=\s*\[(.+)\];', webpage, 'kaltura id'),
|
||||||
display_id)['vid_kaltura_id']
|
display_id)['vid_kaltura_id']
|
||||||
|
|
||||||
return self.url_result(
|
return self.url_result(
|
||||||
|
Loading…
Reference in New Issue
Block a user