[ipla] reformat code

This commit is contained in:
Laura Liberda 2021-02-27 00:33:12 +01:00 committed by Dominika
parent 50d15ce421
commit 7989d4c448

View file

@ -37,7 +37,6 @@ class IplaIE(InfoExtractor):
'value': str(uuid4()),
}
def _real_extract(self, url):
video_id = self._match_id(url)
media = self.get_info(video_id)
@ -82,7 +81,6 @@ class IplaIE(InfoExtractor):
res = self._download_json('http://b2c-mobile.redefine.pl/rpc/navigation/', media_id, data=req, headers=headers)
return res['result']['mediaItem']
#return res.json()['result']['mediaItem']['playback']['mediaSources']
def get_url(self, media_id, source_id):
req = self.rpc('getPseudoLicense', {