Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -342,7 +342,10 @@ def find_rss():
|
|
342 |
except Exception as e:
|
343 |
lod=f'{rss_url} ::ERROR:: {e}'
|
344 |
error_box.append({"Name":rss_url,"Error":e,"Error Code":1})
|
345 |
-
|
|
|
|
|
|
|
346 |
except Exception as e:
|
347 |
lod=f'{rss_url} ::ERROR:: {e}'
|
348 |
error_box.append({"Name":rss_url,"Error":e,"Error Code":2})
|
|
|
342 |
except Exception as e:
|
343 |
lod=f'{rss_url} ::ERROR:: {e}'
|
344 |
error_box.append({"Name":rss_url,"Error":e,"Error Code":1})
|
345 |
+
if ea.get('section') is not None:
|
346 |
+
section = ea['section']
|
347 |
+
else: section = ""
|
348 |
+
valid_box.append({"source":ea['source'],"link":ea['link'],"section":section,"description":''})
|
349 |
except Exception as e:
|
350 |
lod=f'{rss_url} ::ERROR:: {e}'
|
351 |
error_box.append({"Name":rss_url,"Error":e,"Error Code":2})
|