Spaces:
Running
Running
BraydenMoore
commited on
Commit
·
a4ecf2a
1
Parent(s):
8ea01b2
Update main.py
Browse files
main.py
CHANGED
@@ -89,7 +89,7 @@ def proxy(url):
|
|
89 |
clean_url = encode_url(clean_url)
|
90 |
|
91 |
try:
|
92 |
-
req = requests.get(clean_url, headers=headers, stream=True, timeout=
|
93 |
|
94 |
end_time = time.time()
|
95 |
elapsed_time = end_time - start_time
|
|
|
89 |
clean_url = encode_url(clean_url)
|
90 |
|
91 |
try:
|
92 |
+
req = requests.get(clean_url, headers=headers, stream=True, timeout=1)
|
93 |
|
94 |
end_time = time.time()
|
95 |
elapsed_time = end_time - start_time
|