1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 09:12:40 +01:00

[inc] PEP 8

This commit is contained in:
Sergey M․ 2018-06-12 01:41:23 +07:00
parent a572ae6114
commit 0645be49cb
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -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(