Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,10 +21,11 @@ def find_all(url,q=None,num=None):
|
|
| 21 |
#print(soup.find_all('p'))
|
| 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 |
-
|
|
|
|
| 28 |
#print(tag.findChildren("a" , recursive=False))
|
| 29 |
#try:
|
| 30 |
#n = tag.get(tag.string)
|
|
|
|
| 21 |
#print(soup.find_all('p'))
|
| 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.find_all():
|
| 28 |
+
print (tag.get_text().name)
|
| 29 |
#print(tag.findChildren("a" , recursive=False))
|
| 30 |
#try:
|
| 31 |
#n = tag.get(tag.string)
|