From 939f4775a71955b09f8e7500efc68de8053a2b19 Mon Sep 17 00:00:00 2001 From: Jason Schwarzenberger Date: Wed, 4 Nov 2020 15:52:34 +1300 Subject: [PATCH] better settings example. --- apiserver/settings.py.example | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/apiserver/settings.py.example b/apiserver/settings.py.example index d119818..abb0b19 100644 --- a/apiserver/settings.py.example +++ b/apiserver/settings.py.example @@ -9,19 +9,16 @@ NUM_REDDIT = 10 NUM_TILDES = 5 NUM_SUBSTACK = 10 -# SITEMAP = { -# 'nzherald': { 'url': "https://www.nzherald.co.nz/arcio/news-sitemap/", 'count': 10}, -# 'stuff': { 'url': "https://www.stuff.co.nz/sitemap.xml", 'count': 10}, -# } +SITEMAP = {} +# SITEMAP['nzherald'] = { 'url': "https://www.nzherald.co.nz/arcio/news-sitemap/", 'count': 10}, +# SITEMAP['stuff'] = { 'url': "https://www.stuff.co.nz/sitemap.xml", 'count': 10}, -# SUBSTACK = { -# 'webworm': { 'url': "https://www.webworm.co", 'count': 10}, -# 'the bulletin': { 'url': "https://thespinoff.substack.com", 'count': 10}, -# } +SUBSTACK = {} +# SUBSTACK['webworm'] = { 'url': "https://www.webworm.co", 'count': 10}, +# SUBSTACK['the bulletin'] = { 'url': "https://thespinoff.substack.com", 'count': 10}, -# CATEGORY = { -# 'rnz national': { 'url': "https://www.rnz.co.nz/news/national", 'count': 10}, -# } +CATEGORY = {} +# CATEGORY['rnz national'] = { 'url': "https://www.rnz.co.nz/news/national", 'count': 10}, SCRAPERS = ['declutter', 'outline', 'local']