-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.py
72 lines (57 loc) · 1.58 KB
/
config.py
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
import pytz
# global
DB_PATH = 'db/'
OUPUT_PATH = 'output/'
SCRIPTS_PATH = 'scripts/'
LUATABLE_PATH = 'luatable/'
JSON_PATH = 'json/'
DOCS_PATH = 'docs/'
KCKIT_NAME = 'KCKit'
WCTF_DB_NAME = 'WCTF_DB'
# timezone
TIMEZONE = pytz.timezone('Asia/Shanghai')
# seasonal
SEASONAL_PATH = 'seasonal/'
# akashiListCrawler
AKASHI_LIST_URL = 'https://akashi-list.me'
AKASHI_LIST_OUTPUT_JSON = 'akashi-list.json'
AKASHI_LIST_OUTPUT_LUA = 'akashi-list.lua'
# wikiaCrawler
WIKIA_OUTPUT_JSON = 'wikia_enemy_extra.json'
# kcdata
KCDATA_SHIP_ALL_JSON = 'kcdata_ship_all.json'
KCDATA_SLOTITEM_ALL_JSON = 'kcdata_slotitem_all.json'
# database
ENTITIES_DB = 'entities'
ITEM_TYPES_DB = 'item_types'
ITEMS_DB = 'items'
SHIP_CLASSES_DB = 'ship_classes'
SHIP_NAMESUFFIX_DB = 'ship_namesuffix'
SHIP_SERIES_DB = 'ship_series'
SHIP_TYPES_DB = 'ship_types'
SHIP_TYPE_COLLECTIONS_DB = 'ship_type_collections'
SHIPS_DB = 'ships'
# extra
SHIP_REMODEL_EXTRA = 'ship_remodel.json'
ITEM_REMARKS_EXTRA = 'item_remarks.json'
SHINKAI_EXTRA_JSON = 'shinkai_extra.json'
# output
SHIPS_DATA = 'ships'
ITEMS_DATA = 'items'
SHIPCLASSES_MAPPING_DATA = 'shipclasses_mapping'
SHINKAI_SHIPS_DATA = 'shinkai-ships'
SHINKAI_ITEMS_DATA = 'shinkai-items'
ITEMS_DATA_V2 = 'items_v2'
# bonus
BONUS_JS = 'bonus.js'
BONUS_JSON = 'bonus.json'
# wikiwiki subtitles
WIKIWIKI_TRANSLATION = 'wikiwiki_translation.json'
WIKIWIKI_MaxValue_TABLE = 'wikiwiki_MaxValue_table.txt'
WIKIWIKI_Compare_TABLE = 'wikiwiki_Compare_table.txt'
# diff
GITHUB_PAGES_URL = 'https://bot.kcwiki.moe/'
IGNORE_FILES = [
'seasonal/index.html'
]
AIRPOWER_TABLE = 'airpower_table.lua'