Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,8 @@ def make_tree(url1="",url2="",url3="",url4=""):
|
|
17 |
spl = feed1.text.split("href=")
|
18 |
for line in spl:
|
19 |
spl2 = line.split(">")[0]
|
20 |
-
|
|
|
21 |
fin=line.split(">")[0].strip('""')
|
22 |
link_box.append(fin)
|
23 |
#html_out=html_out+html.replace("PAGE_LINK",fin)
|
|
|
17 |
spl = feed1.text.split("href=")
|
18 |
for line in spl:
|
19 |
spl2 = line.split(">")[0]
|
20 |
+
print(spl2)
|
21 |
+
if spl2.endswith('/"') or spl2.endswith('.json'):
|
22 |
fin=line.split(">")[0].strip('""')
|
23 |
link_box.append(fin)
|
24 |
#html_out=html_out+html.replace("PAGE_LINK",fin)
|