Removed education news
This commit is contained in:
parent
4dff75cb75
commit
9d997d7fbf
|
@ -7,10 +7,10 @@ services:
|
|||
- MONGO_HOST=mongodb
|
||||
- MONGO_PORT=27017
|
||||
- MONGO_DB=notoric-snc
|
||||
- GROQ_API_KEY=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
|
||||
- OPENWEATHERMAP_API_KEY=266adc688a1b7710b293f8b25de1bbe6
|
||||
- GROQ_API_KEY=
|
||||
- OPENWEATHERMAP_API_KEY=
|
||||
- OPENWEATHERMAP_CITY=London,uk
|
||||
- NEWSAPI_API_KEY=188779213a2f4f6b87e3fbcdd906e8e0
|
||||
- NEWSAPI_API_KEY=
|
||||
- NEWSAPI_COUNTRY=gb
|
||||
- ARTICLE_LIFETIME=6 # in hours
|
||||
- ARTICLE_INTERVAL=1 # in hours
|
||||
|
|
|
@ -230,7 +230,6 @@ def get_all_news():
|
|||
print("Getting all news articles...")
|
||||
|
||||
write_newsfeed(get_interesting_news(get_newsfeed("technology")))
|
||||
write_newsfeed(get_interesting_news(get_newsfeed("entertainment")))
|
||||
write_newsfeed(get_interesting_news(get_newsfeed("science")))
|
||||
|
||||
# Delete all old news articles
|
||||
|
|
1
snc.py
1
snc.py
|
@ -254,7 +254,6 @@ def get_all_news():
|
|||
print("Getting all news articles...")
|
||||
|
||||
write_newsfeed(get_interesting_news(get_newsfeed("technology")))
|
||||
write_newsfeed(get_interesting_news(get_newsfeed("entertainment")))
|
||||
write_newsfeed(get_interesting_news(get_newsfeed("science")))
|
||||
|
||||
# Delete all old news articles
|
||||
|
|
Loading…
Reference in New Issue