Update app.py
Browse files
app.py
CHANGED
|
@@ -91,7 +91,7 @@ def get_ranges_with_count():
|
|
| 91 |
"_token": csrf_token,
|
| 92 |
"from": date,
|
| 93 |
"to": date
|
| 94 |
-
}, timeout=
|
| 95 |
|
| 96 |
print(f"π Response status: {r.status_code}")
|
| 97 |
print(f"π Response preview: {r.text[:200]}")
|
|
@@ -151,7 +151,7 @@ def get_numbers_with_count(rng):
|
|
| 151 |
"start": date,
|
| 152 |
"end": date,
|
| 153 |
"range": rng
|
| 154 |
-
}, timeout=
|
| 155 |
|
| 156 |
print(f" π Status: {r.status_code}")
|
| 157 |
|
|
@@ -225,7 +225,7 @@ def get_sms_fast(rng, number):
|
|
| 225 |
"end": date,
|
| 226 |
"Number": number,
|
| 227 |
"Range": range_name
|
| 228 |
-
}, timeout=
|
| 229 |
|
| 230 |
print(f" π Status: {r.status_code}")
|
| 231 |
|
|
|
|
| 91 |
"_token": csrf_token,
|
| 92 |
"from": date,
|
| 93 |
"to": date
|
| 94 |
+
}, timeout=30)
|
| 95 |
|
| 96 |
print(f"π Response status: {r.status_code}")
|
| 97 |
print(f"π Response preview: {r.text[:200]}")
|
|
|
|
| 151 |
"start": date,
|
| 152 |
"end": date,
|
| 153 |
"range": rng
|
| 154 |
+
}, timeout=30)
|
| 155 |
|
| 156 |
print(f" π Status: {r.status_code}")
|
| 157 |
|
|
|
|
| 225 |
"end": date,
|
| 226 |
"Number": number,
|
| 227 |
"Range": range_name
|
| 228 |
+
}, timeout=30)
|
| 229 |
|
| 230 |
print(f" π Status: {r.status_code}")
|
| 231 |
|