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