Bladeren bron

Update Juvenes URLs (Finally short and HTTPS)

Toni Fadjukoff 6 jaren geleden
bovenliggende
commit
ba5a7bf9d7
1 gewijzigde bestanden met toevoegingen van 42 en 14 verwijderingen
  1. 42 14
      juvenes.py

+ 42 - 14
juvenes.py Bestand weergeven

@@ -7,20 +7,48 @@ import json
7 7
 # Last three columns are Kitchen Info ID, Menu Type ID and Concept ID. There may be multiple concepts in a single restauranta.
8 8
 # Juvenes API defines also Restaurant ID but that is not used.
9 9
 restaurant_info = [
10
-  [ "(TaY) Yliopiston Ravintola", "http://www.juvenes.fi/fi-fi/ravintolatjakahvilat/kampusravintolat/tayp%C3%A4%C3%A4kampus/yliopistonravintola.aspx", "M", "left", 13, 60, []],
11
-  [ "(TaY) Yliopiston Ravintola / VegeBar", "http://www.juvenes.fi/fi-fi/ravintolatjakahvilat/kampusravintolat/tayp%C3%A4%C3%A4kampus/yliopistonravintola.aspx", "", "left", 13, 5, []],
12
-  [ "(TaY) Café Campus", "http://www.juvenes.fi/fi-fi/ravintolatjakahvilat/kampusravintolat/tayp%C3%A4%C3%A4kampus/caf%C3%A9campus.aspx", "", "left", 130019, 23, []],
13
-  [ "(TaY) Café Pinni", "http://www.juvenes.fi/fi-fi/ravintolatjakahvilat/kampusravintolat/tayp%C3%A4%C3%A4kampus/caf%C3%A9lunchpinni.aspx", "M", "middle", 130016, 60, []],
14
-  [ "(TAYS) Arvo", "http://www.juvenes.fi/fi-fi/ravintolatjakahvilat/kampusravintolat/taykaupinkampus/arvo.aspx", "M", "left", 5, 60, []],
15
-  [ "(TAYS) Café Lea (Fusion Kitchen)", "http://www.juvenes.fi/fi-fi/ravintolatjakahvilat/kampusravintolat/taykaupinkampus/cafélea.aspx", "M", "left", 50026, 3, []],
16
-  [ "(TAYS) Café Lea (My Salad)", "http://www.juvenes.fi/fi-fi/ravintolatjakahvilat/kampusravintolat/taykaupinkampus/cafélea.aspx", "M", "left", 50026, 76, []],
17
-  [ "(TTY) Newton", "http://www.juvenes.fi/fi-fi/ravintolatjakahvilat/kampusravintolat/ttykampus/newton.aspx", "", "left", 6, 60, [1149]],
18
-  [ "(TTY) Café Konehuone / Såås bar", "http://www.juvenes.fi/fi-fi/ravintolatjakahvilat/kampusravintolat/ttykampus/caf%C3%A9konehuone.aspx", "", "left", 60038, 77, [3663]],
19
-  [ "(TTY) Café Konehuone / Fusion Kitchen", "http://www.juvenes.fi/fi-fi/ravintolatjakahvilat/kampusravintolat/ttykampus/caf%C3%A9konehuone.aspx", "", "middle", 60038, 3, [1674]],
20
-  [ "(TAMK) Ziberia (Koto my plate)", "http://www.juvenes.fi/fi-fi/ravintolatjakahvilat/lounasravintolat/ziberia.aspx", "", "middle", 11, 82, []],
21
-  [ "(TAMK) Ziberia (Koto)", "http://www.juvenes.fi/fi-fi/ravintolatjakahvilat/lounasravintolat/ziberia.aspx", "", "middle", 11, 79, []],
22
-  [ "(TAMK) Ziberia (My Salad)", "http://www.juvenes.fi/fi-fi/ravintolatjakahvilat/lounasravintolat/ziberia.aspx", "", "middle", 11, 76, []],
23
-  [ "(TAMK) Frenckell / Såås bar", "http://www.juvenes.fi/fi-fi/ravintolatjakahvilat/lounasravintolat/frenckell.aspx", "", "middle", 33, 77, []]
10
+  [ "(TaY) Yliopiston Ravintola", 
11
+    "https://www.juvenes.fi/yoravintola",
12
+    "M", "left", 13, 60, []],
13
+  [ "(TaY) Yliopiston Ravintola / VegeBar",
14
+    "https://www.juvenes.fi/yoravintola",
15
+    "", "left", 13, 5, []],
16
+  [ "(TaY) Café Alakuppila (TaY Päätalo)",
17
+    "https://www.juvenes.fi/alakuppila",
18
+    "", "left", 130019, 23, []],
19
+  [ "(TaY) Café Pinni",
20
+    "https://www.juvenes.fi/pinni",
21
+    "M", "middle", 130016, 60, []],
22
+  [ "(TAYS) Arvo",
23
+    "https://www.juvenes.fi/arvo",
24
+    "M", "left", 5, 60, []],
25
+  [ "(TAYS) Café Lea (Fusion Kitchen)",
26
+    "https://www.juvenes.fi/lea",
27
+    "M", "left", 50026, 3, []],
28
+  [ "(TAYS) Café Lea (My Salad)",
29
+    "https://www.juvenes.fi/lea",
30
+    "M", "left", 50026, 76, []],
31
+  [ "(TTY) Newton",
32
+    "https://www.juvenes.fi/newton",
33
+    "", "left", 6, 60, [1149]],
34
+  [ "(TTY) Café Konehuone / Såås bar",
35
+    "https://www.juvenes.fi/konehuone",
36
+    "", "left", 60038, 77, [3663]],
37
+  [ "(TTY) Café Konehuone / Fusion Kitchen",
38
+    "https://www.juvenes.fi/konehuone",
39
+    "", "middle", 60038, 3, [1674]],
40
+  [ "(TAMK) Ziberia (Koto my plate)",
41
+    "https://www.juvenes.fi/ziberia",
42
+    "", "middle", 11, 82, []],
43
+  [ "(TAMK) Ziberia (Koto)",
44
+    "https://www.juvenes.fi/ziberia",
45
+    "", "middle", 11, 79, []],
46
+  [ "(TAMK) Ziberia (My Salad)",
47
+    "https://www.juvenes.fi/ziberia",
48
+    "", "middle", 11, 76, []],
49
+  [ "(TAMK) Frenckell / Såås bar",
50
+    "https://www.juvenes.fi/frenckell",
51
+    "", "middle", 33, 77, []]
24 52
 ]
25 53
 
26 54