Omnibus commited on
Commit
5ce2b77
·
verified ·
1 Parent(s): 646b411

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -9
app.py CHANGED
@@ -338,15 +338,17 @@ def sitemap_test(url,file_state,level):
338
  print (e)
339
  except Exception as e:
340
  print (e)
341
-
342
- for ea_link in link2['LINKS']:
343
- print(ea_link)
344
- try:
345
- url_list=ea_link.split("/")
346
- url_front.append(url_list[:3])
347
- #url_front.append(f'{url_list[0]}//{url_list[2]}')
348
- except Exception as e:
349
- print(e)
 
 
350
  uri_key=sort_doc(url_front,file_state,8)
351
 
352
  ######## Save Database ########
 
338
  print (e)
339
  except Exception as e:
340
  print (e)
341
+ try:
342
+ for ea_link in link2['LINKS']:
343
+ print(ea_link)
344
+ try:
345
+ url_list=ea_link.split("/")
346
+ url_front.append(url_list[:3])
347
+ #url_front.append(f'{url_list[0]}//{url_list[2]}')
348
+ except Exception as e:
349
+ print(e)
350
+ except Exception as e:
351
+ print(e)
352
  uri_key=sort_doc(url_front,file_state,8)
353
 
354
  ######## Save Database ########