-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.py
80 lines (79 loc) · 1.69 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
73
74
75
76
77
78
79
80
# -*- coding: utf-8 -*-
OUT_DIR = './out/' # trailing slash required
USER_AGENT = 'stw2openmensa (https://github.com/chk1/stw2openmensa)'
BASE_URL = 'http://speiseplan.stw-muenster.de/'
CANTEEN_FILES = [
'mensa_aasee.xml',
'mensa_am_ring.xml',
'mensa_bispinghof.xml',
'mensa_da_vinci.xml',
'mensa_steinfurt.xml',
#'bistro_coerdehof.xml',
'bistro_denkpause.xml',
'bistro_durchblick.xml',
'bistro_frieden.xml',
'bistro_friesenring.xml',
#'bistro_huefferstift.xml',
'bistro_kabu.xml',
'bistro_katho.xml',
'bistro_oeconomicum.xml'
]
ADDITIVES = {
# Zusatzstoffe
'1': 'Farbstoff',
'2': 'Konservierungsstoff',
'3': 'Antioxidationsmittel',
'4': 'Geschmacksverstärker',
'5': 'geschwefelt',
'6': 'geschwärzt',
'7': 'gewachst',
'8': 'Phosphat',
'9': 'Süßungsmittel',
'10': 'eine Phenylalaninquelle',
'15': 'chininhaltig',
'16': 'koffeinhaltig',
# Allergene
'A': 'glutenhaltiges Getreide',
'ADI': 'Dinkel',
'AGE': 'Gerste',
'AHA': 'Hafer',
'AKA': 'Kamut',
'ARO': 'Roggen',
'AWE': 'Weizen',
'B': 'Krebstiere',
'C': 'Ei',
'D': 'Fisch',
'E': 'Erdnüsse',
'F': 'Soja',
'G': 'Milch',
'H': 'Schalenfrüchte',
'HMA': 'Mandeln',
'HHA': 'Haselnüsse',
'HWA': 'Walnüsse',
'HCA': 'Cashewkerne/Kaschunüsse',
'HPE': 'Pecannüsse',
'HPA': 'Paranüsse',
'HPI': 'Pistazien',
'HQU': 'Queenslandnüsse / Macadamianüsse',
'I': 'Sellerie',
'J': 'Senf',
'K': 'Sesam',
'L': 'Lupinen',
'M': 'Weichtiere',
'N': 'Schwefeldioxid und Sulfite',
# Other
'Alk': 'Alkohol'
}
CLASSIFICATION = {
'alk': 'Alkohol',
'fis': 'Fisch',
'gfl': 'Geflügel',
'gefl': 'Geflügel',
'rin': 'Rind',
'rnd': 'Rind',
'sch': 'Schwein',
'vgn': 'Vegan',
'vgt': 'Vegetarisch',
'veg': 'Vegetarisch',
'bio': 'Bioprodukte'
}