test
This commit is contained in:
parent
e020f088ae
commit
1e909212fc
@ -32,7 +32,7 @@ class Plugin_OBJ():
|
|||||||
'referer': 'https://www.distro.tv/live',
|
'referer': 'https://www.distro.tv/live',
|
||||||
'accept-language': 'en-US,en;q=0.9'
|
'accept-language': 'en-US,en;q=0.9'
|
||||||
}
|
}
|
||||||
chan_req = self.plugin_utils.web.session.get(channels_url, headers=url_headers, data=payload)
|
chan_req = self.plugin_utils.web.session.get(channels_url, headers=url_headers)
|
||||||
data = json.loads(chan_req.content)
|
data = json.loads(chan_req.content)
|
||||||
print(data)
|
print(data)
|
||||||
|
|
||||||
@ -80,8 +80,3 @@ class Plugin_OBJ():
|
|||||||
stream_info = {"url": streamurl}
|
stream_info = {"url": streamurl}
|
||||||
|
|
||||||
return stream_info
|
return stream_info
|
||||||
|
|
||||||
def get_ustvgo_stream(self, chancode):
|
|
||||||
data = {'stream': chancode}
|
|
||||||
stream_url = self.plugin_utils.web.session.post('https://ustvgo.tv/data.php', data=data).text
|
|
||||||
return stream_url
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user