-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.py
36 lines (28 loc) · 996 Bytes
/
init.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
import json
cm = []
output_file = "cm.json"
mass = {}
mass['name'] = 'Critical Mass Darmstadt'
mass['location'] = 'Marktplatz'
mass['begin'] = '19:00'
mass['urls'] = ['https://www.instagram.com/criticalmassdarmstadt/', 'https://twitter.com/criticalmassda', 'https://de-de.facebook.com/KritischeMasseDarmstadt/']
mass['day'] = 'Friday'
mass['cycle'] = 3
cm.append(mass)
mass = {}
mass['name'] = 'Critical Mass Stuttgart'
mass['location'] = 'Feuerseeplatz'
mass['begin'] = '18:30'
mass['urls'] = ['https://criticalmassstuttgart.wordpress.com/', 'https://www.facebook.com/getonyourbike']
mass['day'] = 'Friday'
mass['cycle'] = 2
cm.append(mass)
mass = {}
mass['name'] = 'Critical Mass Würzburg'
mass['location'] = 'am Brunnen vor der Residenz'
mass['begin'] = '18:00'
mass['urls'] = ['https://www.facebook.com/Critical-Mass-W%C3%BCrzburg-638967912866066', 'http://criticalmass.de/www.cmwue.de']
mass['day'] = 'Friday'
mass['cycle'] = 3
cm.append(mass)
json.dump(cm, open(output_file, "w"))