2020-11-02 02:26:54 +00:00
|
|
|
# QotNews settings
|
|
|
|
# edit this file and save it as settings.py
|
|
|
|
|
2020-11-10 20:46:27 +00:00
|
|
|
HOSTNAME = 'news.t0.vc'
|
2020-11-09 04:50:58 +00:00
|
|
|
MAX_STORY_AGE = 3*24*60*60
|
|
|
|
|
2020-11-02 02:26:54 +00:00
|
|
|
# Feed Lengths
|
|
|
|
# Number of top items from each site to pull
|
|
|
|
# set to 0 to disable that site
|
|
|
|
NUM_HACKERNEWS = 15
|
|
|
|
NUM_REDDIT = 10
|
|
|
|
NUM_TILDES = 5
|
2020-11-03 03:44:02 +00:00
|
|
|
NUM_SUBSTACK = 10
|
2020-11-03 04:01:29 +00:00
|
|
|
|
2020-11-04 02:52:34 +00:00
|
|
|
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},
|
2020-11-03 04:01:29 +00:00
|
|
|
|
2020-11-04 02:52:34 +00:00
|
|
|
SUBSTACK = {}
|
|
|
|
# SUBSTACK['webworm'] = { 'url': "https://www.webworm.co", 'count': 10},
|
|
|
|
# SUBSTACK['the bulletin'] = { 'url': "https://thespinoff.substack.com", 'count': 10},
|
2020-11-02 02:26:54 +00:00
|
|
|
|
2020-11-04 02:52:34 +00:00
|
|
|
CATEGORY = {}
|
|
|
|
# CATEGORY['rnz national'] = { 'url': "https://www.rnz.co.nz/news/national", 'count': 10},
|
2020-11-03 22:08:50 +00:00
|
|
|
|
2020-11-04 02:47:12 +00:00
|
|
|
SCRAPERS = ['declutter', 'outline', 'local']
|
|
|
|
|
2020-11-02 02:26:54 +00:00
|
|
|
# Reddit account info
|
|
|
|
# leave blank if not using Reddit
|
|
|
|
REDDIT_CLIENT_ID = ''
|
|
|
|
REDDIT_CLIENT_SECRET = ''
|
|
|
|
REDDIT_USER_AGENT = ''
|
|
|
|
|
|
|
|
SUBREDDITS = [
|
|
|
|
'Economics',
|
|
|
|
'AcademicPhilosophy',
|
|
|
|
'DepthHub',
|
|
|
|
'Foodforthought',
|
|
|
|
'HistoryofIdeas',
|
|
|
|
'LaymanJournals',
|
|
|
|
'PhilosophyofScience',
|
|
|
|
'PoliticsPDFs',
|
|
|
|
'Scholar',
|
|
|
|
'StateOfTheUnion',
|
|
|
|
'TheAgora',
|
|
|
|
'TrueFilm',
|
|
|
|
'TrueReddit',
|
|
|
|
'UniversityofReddit',
|
|
|
|
'culturalstudies',
|
|
|
|
'hardscience',
|
|
|
|
'indepthsports',
|
|
|
|
'indepthstories',
|
|
|
|
'ludology',
|
|
|
|
'neurophilosophy',
|
|
|
|
'resilientcommunities',
|
|
|
|
'worldevents',
|
|
|
|
]
|