Omnibus commited on
Commit
4ebd713
·
1 Parent(s): 8fac38f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -44,7 +44,8 @@ def find_all(url):
44
  print(soup.title.parent.name)
45
  #rawp.append([tag.name for tag in soup.find_all()] )
46
  print([tag.name for tag in soup.find_all()])
47
- rawp=(f'RAW TEXT RETURNED: {soup.text}')
 
48
  out.append(rawp)
49
  q=("a","p","span","content","article")
50
  for p in soup.find_all(q):
 
44
  print(soup.title.parent.name)
45
  #rawp.append([tag.name for tag in soup.find_all()] )
46
  print([tag.name for tag in soup.find_all()])
47
+ #rawp=(f'RAW TEXT RETURNED: {soup.text}')
48
+ rawp=(f'RAW HTML RETURNED: {soup}')
49
  out.append(rawp)
50
  q=("a","p","span","content","article")
51
  for p in soup.find_all(q):