Update app.py
Browse files
app.py
CHANGED
@@ -220,9 +220,9 @@ def sitemap(url,level):
|
|
220 |
uri_key=sort_doc(link_box,8)
|
221 |
######## Save Database ########
|
222 |
uid=uuid.uuid4()
|
223 |
-
for ea in list(uri_key.keys()):
|
224 |
-
|
225 |
-
|
226 |
|
227 |
with open(f'{uid}.json', 'w') as f:
|
228 |
json_hist=json.dumps(uri_key, indent=4)
|
|
|
220 |
uri_key=sort_doc(link_box,8)
|
221 |
######## Save Database ########
|
222 |
uid=uuid.uuid4()
|
223 |
+
#for ea in list(uri_key.keys()):
|
224 |
+
# #if not uri_key[ea] in list(lod.values()):
|
225 |
+
# lod[ea]=uri_key[ea]
|
226 |
|
227 |
with open(f'{uid}.json', 'w') as f:
|
228 |
json_hist=json.dumps(uri_key, indent=4)
|