Omnibus commited on
Commit
40f8172
1 Parent(s): 8278c4a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,9 +22,9 @@ def find_all(url,q=None,num=None):
22
 
23
 
24
  #rawp.append([tag.name for tag in soup.find_all()] )
25
-
26
  #for tag in soup.find_all('h1','h2','h3','p','div','ul'):
27
- for tag in [soup.find_all()]:
28
  #print(tag.findChildren("a" , recursive=False))
29
  #try:
30
  #n = tag.get(tag.string)
 
22
 
23
 
24
  #rawp.append([tag.name for tag in soup.find_all()] )
25
+ soup_list = [tag for tag in soup.find_all()]
26
  #for tag in soup.find_all('h1','h2','h3','p','div','ul'):
27
+ for tag in soup_list:
28
  #print(tag.findChildren("a" , recursive=False))
29
  #try:
30
  #n = tag.get(tag.string)