fix mistake.

master
Jason Schwarzenberger 4 years ago
parent 29f8a8b8cc
commit db6aad84ec
  1. 2
      apiserver/feed.py
  2. 2
      apiserver/settings.py.example

@ -21,7 +21,7 @@ for key, value in settings.SUBSTACK.items():
substacks[key] = substack.Publication(value['url'])
categories = {}
for key, value in settings.CATEGORY.items():
categories[key] = news.Cateogry(value['url'])
categories[key] = news.Category(value['url'])
sitemaps = {}
for key, value in settings.SITEMAP.items():
sitemaps[key] = news.Sitemap(value['url'])

@ -19,7 +19,7 @@ NUM_SUBSTACK = 10
# 'the bulletin': { 'url': "https://thespinoff.substack.com", 'count': 10},
# }
# CATEGORIES = {
# CATEGORY = {
# 'rnz national': { 'url': "https://www.rnz.co.nz/news/national", 'count': 10},
# }

Loading…
Cancel
Save