Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def proxy():
|
|
35 |
tag['href'] = '/proxy?url=' + tag['href']
|
36 |
for tag in soup.find_all(src=True):
|
37 |
tag['src'] = '/proxy?url=' + tag['src']
|
38 |
-
content = soup.
|
39 |
print(content)
|
40 |
|
41 |
return content, response.status_code, headers
|
|
|
35 |
tag['href'] = '/proxy?url=' + tag['href']
|
36 |
for tag in soup.find_all(src=True):
|
37 |
tag['src'] = '/proxy?url=' + tag['src']
|
38 |
+
content = soup.decode('utf-8')
|
39 |
print(content)
|
40 |
|
41 |
return content, response.status_code, headers
|