Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ def find_it(url,q=None,num=None):
|
|
44 |
for p in soup.find_all(f'{q}'):
|
45 |
#out.append(p)
|
46 |
out.append(p.string)
|
47 |
-
out.append(p.parent)
|
48 |
|
49 |
for url in soup.find_all('a'):
|
50 |
print(url.get('href'))
|
|
|
44 |
for p in soup.find_all(f'{q}'):
|
45 |
#out.append(p)
|
46 |
out.append(p.string)
|
47 |
+
out.append(p.parent.name)
|
48 |
|
49 |
for url in soup.find_all('a'):
|
50 |
print(url.get('href'))
|