Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
| 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)
|