Update app.py
Browse files
app.py
CHANGED
@@ -10,6 +10,8 @@ def get_api(inp,call,val,tot):
|
|
10 |
for i in range(int(val)):
|
11 |
try:
|
12 |
r = requests.get(f'{inp}?{call}={i}')
|
|
|
|
|
13 |
out_box.append(r.text)
|
14 |
except Exception as e:
|
15 |
print (i+" - "+e)
|
|
|
10 |
for i in range(int(val)):
|
11 |
try:
|
12 |
r = requests.get(f'{inp}?{call}={i}')
|
13 |
+
out={"id":r.text['id']}
|
14 |
+
print (out)
|
15 |
out_box.append(r.text)
|
16 |
except Exception as e:
|
17 |
print (i+" - "+e)
|