Omnibus commited on
Commit
c83c737
1 Parent(s): 58f070b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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)