-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathconfig.py
More file actions
88 lines (86 loc) · 1.61 KB
/
config.py
File metadata and controls
88 lines (86 loc) · 1.61 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
import os
env = os.getenv("ENV") # Dev or Prod
# Constants
# Fill these with your own stuff
APP_NAME = "LegendLore"
APP_VERSION = "1.0"
if env == "PROD":
CONNECTION_STRING = "mongodb://192.168.1.47:27017/" # Prod DB
DB_NAME = "MapTaggerReddit"
else:
CONNECTION_STRING = "mongodb://192.168.1.47:27018/" # Dev DB
DB_NAME = "MapTaggerReddit"
DEFAULT_SUBREDDIT = "all"
CREDENTIALS_FILE = "credentials.json"
if env == "PROD":
NOTION_DB_ID = "9bc0c253895d4dbfa4a9ca62833af0d3" # Prod Notion
else:
NOTION_DB_ID = "2bbecdb9a56943eb886f0ecf11d427d8" # Dev Notion
NOTION_DB_NAME = "LegendLore"
NUMBER_OF_DAYS_OLD = 7
UPDATE_SCORES_LIMIT = 250
IGNORE_SENT_TO_NOTION = False
SUBREDDITS = [
"battlemaps",
"dndmaps",
"FantasyMaps",
"dungeondraft",
"inkarnate",
]
TAGS = [
"Astral_Plane",
"Arena",
"Autumn",
"Beach",
# "Bridge",
"Building",
"Camp",
"Castle",
"Cave",
"Crystal",
"Desert",
"Docks",
"Dungeon",
"Farm",
"Feywild",
"Fire",
"Flying",
# "Fog",
"Forest",
"Fort",
"Gate",
"Giant_Skeleton",
"Graveyard",
"Interior",
"Island",
"Jungle",
"Lava",
"Modern",
"Mountain/Cliff",
"Mushrooms",
# "Pen_and_Paper",
"Portal",
"Prison",
"River",
"Regional/World",
"Road/Path",
"Ruins",
"School/Library",
"Sci-Fi",
"Sewer",
"Shadowfell",
"Ship",
"Shop",
"Shrine",
"Snow",
"Steampunk",
"Swamp",
"Tavern/Inn",
"Temple",
"Town/City",
# "Treasure",
"Underdark",
"Underwater",
"Water",
"Workshop",
]