rull commited on
Commit
e8e1930
·
verified ·
1 Parent(s): 619eda3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.decode('utf-8')
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 = str(soup)
39
  print(content)
40
 
41
  return content, response.status_code, headers