1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-05-19 11:39:28 +00: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 @@ class IncIE(InfoExtractor):
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(