Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -25,9 +25,9 @@ def link_find(url):
|
|
| 25 |
def sitemap(url):
|
| 26 |
if url != "" and url != None:
|
| 27 |
link1=link_find(url)
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
return out_list
|
| 32 |
with gr.Blocks() as app:
|
| 33 |
inp=gr.Textbox()
|
|
|
|
| 25 |
def sitemap(url):
|
| 26 |
if url != "" and url != None:
|
| 27 |
link1=link_find(url)
|
| 28 |
+
for ea in link1:
|
| 29 |
+
out_list=link_find(ea['URL'])
|
| 30 |
+
ea['TREE']=ea["TREE"].append(out)
|
| 31 |
return out_list
|
| 32 |
with gr.Blocks() as app:
|
| 33 |
inp=gr.Textbox()
|