[ipla] reformat code
This commit is contained in:
parent
50d15ce421
commit
7989d4c448
|
@ -37,7 +37,6 @@ class IplaIE(InfoExtractor):
|
||||||
'value': str(uuid4()),
|
'value': str(uuid4()),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
video_id = self._match_id(url)
|
video_id = self._match_id(url)
|
||||||
media = self.get_info(video_id)
|
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)
|
res = self._download_json('http://b2c-mobile.redefine.pl/rpc/navigation/', media_id, data=req, headers=headers)
|
||||||
return res['result']['mediaItem']
|
return res['result']['mediaItem']
|
||||||
#return res.json()['result']['mediaItem']['playback']['mediaSources']
|
|
||||||
|
|
||||||
def get_url(self, media_id, source_id):
|
def get_url(self, media_id, source_id):
|
||||||
req = self.rpc('getPseudoLicense', {
|
req = self.rpc('getPseudoLicense', {
|
||||||
|
|
Loading…
Reference in a new issue