rull commited on
Commit
ff6bfbc
·
verified ·
1 Parent(s): 7c617a0

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.prettify(formatter='html')
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 = response.text
39
  print(content)
40
 
41
  return content, response.status_code, headers