-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathspace_report_settings.py
More file actions
46 lines (45 loc) · 2.65 KB
/
space_report_settings.py
File metadata and controls
46 lines (45 loc) · 2.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
from models import RssInfo, SiteConfig
from app_config import RedditFetchConfig
CONFIG = SiteConfig(
ALL_URLS={
"https://www.nasa.gov/rss/dyn/breaking_news.rss": RssInfo("nasa.svg", "NASA News", "https://www.nasa.gov"),
"http://www.esa.int/rssfeed/Our_Activities/Space_News": RssInfo("esa.svg", "ESA News", "https://www.esa.int"),
"https://spacenews.com/feed/": RssInfo("spacenews.png", "SpaceNews.com", "https://spacenews.com"),
"https://universetoday.com/feed/": RssInfo("universetoday.webp", "Universe Today", "https://universetoday.com"),
"https://www.planetary.org/rss/articles": RssInfo("planetary.png", "The Planetary Society", "https://planetary.org"),
"https://www.astronomy.com/feed/": RssInfo("astronomy.webp", "Astronomy Magazine", "https://www.astronomy.com"),
"https://skyandtelescope.org/astronomy-news/rss/": RssInfo("sky-and-telescope.svg", "Sky & Telescope", "https://skyandtelescope.org"),
"https://www.newscientist.com/subject/space/feed/": RssInfo("newscientist.png", "New Scientist", "https://www.newscientist.com"),
"https://www.sciencedaily.com/rss/space_time.xml": RssInfo("sciencedaily.png", "Science Daily", "https://www.sciencedaily.com"),
"https://phys.org/rss-feed/space-news/": RssInfo("phys.png", "Phys.org", "https://phys.org"),
"https://space.com/feeds/all": RssInfo("space.webp", "Space.com", "https://space.com"),
"https://www.spaceelevatorblog.com/?feed=rss2": RssInfo("spaceelevatorblog.jpg","Space Elevator Blog", "https://www.spaceelevatorblog.com"),
},
USER_AGENT="Space Report -- https://news.spaceelevatorwiki.com",
SITE_URLS=[
"https://space.com/feeds/all",
"https://www.nasa.gov/rss/dyn/breaking_news.rss",
"https://phys.org/rss-feed/space-news/",
"http://www.esa.int/rssfeed/Our_Activities/Space_News",
"https://spacenews.com/feed/",
"https://www.astronomy.com/feed/",
"https://universetoday.com/feed/",
"https://www.newscientist.com/subject/space/feed/",
"https://www.sciencedaily.com/rss/space_time.xml",
"https://skyandtelescope.org/astronomy-news/rss/",
"https://www.planetary.org/rss/articles",
"https://www.spaceelevatorblog.com/?feed=rss2",
],
URL_IMAGES="https://news.spaceelevatorwiki.com/static/images/",
FAVICON="SpaceReport192.ico",
LOGO_URL="SpaceReport.webp",
WEB_DESCRIPTION="Space exploration news: Cosmic updates in milliseconds",
WEB_TITLE="Space Report",
REPORT_PROMPT="Space enthusiasts and professionals interested in top space exploration and space industry news, including any progress on space elevators.",
PATH="/srv/http/spacereport",
SCHEDULE=[0, 8, 16],
DEFAULT_THEME="midnight",
CUSTOM_FETCH_CONFIG={
"reddit.com": RedditFetchConfig(),
}
)