Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -264,7 +264,9 @@ def find_rss():
|
|
264 |
r_description = 'No Description provided'
|
265 |
lods = {"title":r_title, "description":r_description,"link":r_link}
|
266 |
except Exception as e:
|
267 |
-
|
|
|
|
|
268 |
|
269 |
"""
|
270 |
r_link = lod['rss']['channel']['item'][i]['link']
|
@@ -278,12 +280,12 @@ def find_rss():
|
|
278 |
|
279 |
#print(f'{ea["source"]}')
|
280 |
#print(f'{ea["link"]}')
|
281 |
-
lod = f'{rss_url} ::ERROR:: {e}'
|
282 |
|
283 |
print(f'Exception::{e}')
|
284 |
print(f'Exception::{ea.keys()}')
|
285 |
|
286 |
-
out_box.append(lod)
|
287 |
|
288 |
#user_repo=save_data.split('datasets/',1)[1].split('/raw',1)[0]
|
289 |
timestamp=str(datetime.datetime.now())
|
|
|
264 |
r_description = 'No Description provided'
|
265 |
lods = {"title":r_title, "description":r_description,"link":r_link}
|
266 |
except Exception as e:
|
267 |
+
print(e)
|
268 |
+
pass
|
269 |
+
#lods = {"title":"ERROR", "description":{e},"link":"ERROR"}
|
270 |
|
271 |
"""
|
272 |
r_link = lod['rss']['channel']['item'][i]['link']
|
|
|
280 |
|
281 |
#print(f'{ea["source"]}')
|
282 |
#print(f'{ea["link"]}')
|
283 |
+
#lod = f'{rss_url} ::ERROR:: {e}'
|
284 |
|
285 |
print(f'Exception::{e}')
|
286 |
print(f'Exception::{ea.keys()}')
|
287 |
|
288 |
+
#out_box.append(lod)
|
289 |
|
290 |
#user_repo=save_data.split('datasets/',1)[1].split('/raw',1)[0]
|
291 |
timestamp=str(datetime.datetime.now())
|