Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,8 @@ def find_all(url,q=None,num=None):
|
|
28 |
#print(tag.findChildren("a" , recursive=False))
|
29 |
#try:
|
30 |
#n = tag.get(tag.string)
|
31 |
-
rawp.append({tag.name:tag.string,"parent":tag.parent.name})
|
|
|
32 |
#except Exception as e:
|
33 |
# print (e)
|
34 |
# rawp.append({tag.name:tag.string)
|
|
|
28 |
#print(tag.findChildren("a" , recursive=False))
|
29 |
#try:
|
30 |
#n = tag.get(tag.string)
|
31 |
+
rawp.append({f'{tag.name}':tag.string,"parent":tag.parent.name})
|
32 |
+
#rawp.append({tag.name:tag.string,"parent":tag.parent.name})
|
33 |
#except Exception as e:
|
34 |
# print (e)
|
35 |
# rawp.append({tag.name:tag.string)
|