changeset 104:083e09bb913a

myrss: update FEEDS, URLOPEN_TIMEOUT, and one more debug line
author paulo
date Mon, 23 Sep 2019 19:55:00 -0600
parents 4043aaa41075
children 712cc41e0be2
files myrss/FEEDS myrss/myrss_app.py
diffstat 2 files changed, 8 insertions(+), 3 deletions(-) [+]
line diff
     1.1 --- a/myrss/FEEDS	Thu Mar 07 00:52:02 2019 -0800
     1.2 +++ b/myrss/FEEDS	Mon Sep 23 19:55:00 2019 -0600
     1.3 @@ -15,12 +15,15 @@
     1.4  http://feeds.feedburner.com/TheAtlantic
     1.5  http://aeon.co/magazine/feed/
     1.6  http://nautil.us/rss/all
     1.7 -http://api.quantamagazine.org/feed/
     1.8 +https://api.quantamagazine.org/feed/
     1.9  http://undark.org/feed/
    1.10  http://priceonomics.com/latest.rss
    1.11 -http://www.economist.com/leaders/rss.xml
    1.12 +https://harpers.org/feed/
    1.13  http://roadsandkingdoms.com/feed/
    1.14 +http://thebaffler.com/feed
    1.15  http://www.edge.org/feed
    1.16 +#http://quillette.com/feed/
    1.17 +#http://thebrowser.com/feed
    1.18  http://longform.org/feed/
    1.19  http://longreads.com/rss/
    1.20  https://www.project-syndicate.org/rss
    1.21 @@ -33,6 +36,7 @@
    1.22  http://feeds2.feedburner.com/Cycleexif
    1.23  http://www.xkcd.com/rss.xml
    1.24  http://feeds.kottke.org/main
    1.25 +http://feeds.feedburner.com/OpenCulture
    1.26  http://feeds.feedburner.com/shorpy?q=rss.xml
    1.27  http://feeds.feedburner.com/codinghorror
    1.28  https://danielmiessler.com/feed/
     2.1 --- a/myrss/myrss_app.py	Thu Mar 07 00:52:02 2019 -0800
     2.2 +++ b/myrss/myrss_app.py	Mon Sep 23 19:55:00 2019 -0600
     2.3 @@ -29,7 +29,7 @@
     2.4  MAX_ITEMS = 50
     2.5  MAX_LINK_Z = 4
     2.6  MAX_THREADS = 20
     2.7 -URLOPEN_TIMEOUT = 60 # [seconds]
     2.8 +URLOPEN_TIMEOUT = 10 # [seconds]
     2.9  
    2.10  
    2.11  _PARSE_ROOT_TAG_RE = re.compile(r"(\{(.+)\})?(.+)")
    2.12 @@ -259,6 +259,7 @@
    2.13  
    2.14  			with open(CACHE_HTML_FILE, 'w') as cache_html_file:
    2.15  				cache_html_file.write(ret)
    2.16 +		logging.debug("main() ended")
    2.17  
    2.18  	return ret
    2.19