Spaces:
Running
Running
BraydenMoore
commited on
Commit
·
52e19de
1
Parent(s):
27f47bf
Update main.py
Browse files
main.py
CHANGED
@@ -49,7 +49,7 @@ def proxy(url):
|
|
49 |
clean_url = url.replace('proxy/', '')
|
50 |
print('Cleaned URL:', clean_url)
|
51 |
|
52 |
-
req = requests.get(f'{clean_url}', headers=headers, stream=True, timeout=
|
53 |
print("Status Code:", req.status_code)
|
54 |
print("Response Headers:", req.headers)
|
55 |
|
|
|
49 |
clean_url = url.replace('proxy/', '')
|
50 |
print('Cleaned URL:', clean_url)
|
51 |
|
52 |
+
req = requests.get(f'{clean_url}', headers=headers, stream=True, timeout=10)
|
53 |
print("Status Code:", req.status_code)
|
54 |
print("Response Headers:", req.headers)
|
55 |
|