Adapted to API changes
This commit is contained in:
parent
b29c3da448
commit
e6aacf53a4
|
@ -57,9 +57,7 @@ def main():
|
||||||
sat_name = resp.json()['name']
|
sat_name = resp.json()['name']
|
||||||
sat_img_url = resp.json()['image']
|
sat_img_url = resp.json()['image']
|
||||||
|
|
||||||
params = {'uuid': ob['transmitter']}
|
mode_desc = ob['transmitter_mode']
|
||||||
resp = requests.get('https://network.satnogs.org/api/transmitters/', params=params)
|
|
||||||
mode_desc = resp.json()[0]['description']
|
|
||||||
|
|
||||||
resp = requests.get(ob['waterfall'])
|
resp = requests.get(ob['waterfall'])
|
||||||
waterfall = Image.open(BytesIO(resp.content)).convert('RGBA')
|
waterfall = Image.open(BytesIO(resp.content)).convert('RGBA')
|
||||||
|
|
Loading…
Reference in New Issue