fix mistake.
This commit is contained in:
parent
29f8a8b8cc
commit
db6aad84ec
|
@ -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…
Reference in New Issue
Block a user