# HG changeset patch # User paulo # Date 1569290100 21600 # Node ID 083e09bb913a185ef4949713b1352ab24fc7a270 # Parent 4043aaa41075b9d82a6622d3b2bc5db4c0520846 myrss: update FEEDS, URLOPEN_TIMEOUT, and one more debug line diff -r 4043aaa41075 -r 083e09bb913a myrss/FEEDS --- a/myrss/FEEDS Thu Mar 07 00:52:02 2019 -0800 +++ b/myrss/FEEDS Mon Sep 23 19:55:00 2019 -0600 @@ -15,12 +15,15 @@ http://feeds.feedburner.com/TheAtlantic http://aeon.co/magazine/feed/ http://nautil.us/rss/all -http://api.quantamagazine.org/feed/ +https://api.quantamagazine.org/feed/ http://undark.org/feed/ http://priceonomics.com/latest.rss -http://www.economist.com/leaders/rss.xml +https://harpers.org/feed/ http://roadsandkingdoms.com/feed/ +http://thebaffler.com/feed http://www.edge.org/feed +#http://quillette.com/feed/ +#http://thebrowser.com/feed http://longform.org/feed/ http://longreads.com/rss/ https://www.project-syndicate.org/rss @@ -33,6 +36,7 @@ http://feeds2.feedburner.com/Cycleexif http://www.xkcd.com/rss.xml http://feeds.kottke.org/main +http://feeds.feedburner.com/OpenCulture http://feeds.feedburner.com/shorpy?q=rss.xml http://feeds.feedburner.com/codinghorror https://danielmiessler.com/feed/ diff -r 4043aaa41075 -r 083e09bb913a myrss/myrss_app.py --- a/myrss/myrss_app.py Thu Mar 07 00:52:02 2019 -0800 +++ b/myrss/myrss_app.py Mon Sep 23 19:55:00 2019 -0600 @@ -29,7 +29,7 @@ MAX_ITEMS = 50 MAX_LINK_Z = 4 MAX_THREADS = 20 -URLOPEN_TIMEOUT = 60 # [seconds] +URLOPEN_TIMEOUT = 10 # [seconds] _PARSE_ROOT_TAG_RE = re.compile(r"(\{(.+)\})?(.+)") @@ -259,6 +259,7 @@ with open(CACHE_HTML_FILE, 'w') as cache_html_file: cache_html_file.write(ret) + logging.debug("main() ended") return ret