Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def proxy():
|
|
29 |
allow_redirects=False
|
30 |
)
|
31 |
content = response.content
|
32 |
-
print(response.headers)
|
33 |
if 'text/html' in response.headers.get('content-type', ''):
|
34 |
|
35 |
soup = BeautifulSoup(response.text, 'html.parser')
|
|
|
29 |
allow_redirects=False
|
30 |
)
|
31 |
content = response.content
|
32 |
+
print(response.headers.items())
|
33 |
if 'text/html' in response.headers.get('content-type', ''):
|
34 |
|
35 |
soup = BeautifulSoup(response.text, 'html.parser')
|