Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def find_all(url,q=None,num=None):
|
|
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})
|
36 |
|
37 |
#rawp.append(tag.string)
|
38 |
#for url in soup.find_all('a'):
|
|
|
32 |
#rawp.append({tag.name:tag.string,"parent":tag.parent.name})
|
33 |
#except Exception as e:
|
34 |
# print (e)
|
35 |
+
rawp.append({f'{tag.name}':tag.string})
|
36 |
|
37 |
#rawp.append(tag.string)
|
38 |
#for url in soup.find_all('a'):
|