Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ while True:
|
|
46 |
# If no exception was raised, the request was successful
|
47 |
print('Status Code:', response.status_code)
|
48 |
print('Response Body:', response.text)
|
49 |
-
|
50 |
except requests.exceptions.HTTPError as http_err:
|
51 |
print(f'HTTP error occurred: {http_err}')
|
52 |
result_string += f'\n\nHTTP error occurred: {http_err}'
|
|
|
46 |
# If no exception was raised, the request was successful
|
47 |
print('Status Code:', response.status_code)
|
48 |
print('Response Body:', response.text)
|
49 |
+
result_counter += 1
|
50 |
except requests.exceptions.HTTPError as http_err:
|
51 |
print(f'HTTP error occurred: {http_err}')
|
52 |
result_string += f'\n\nHTTP error occurred: {http_err}'
|