Omnibus commited on
Commit
c2e4141
·
verified ·
1 Parent(s): 67949b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- if spl2.endswith('/"'):
 
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)