-
Notifications
You must be signed in to change notification settings - Fork 0
/
countries.py
77 lines (73 loc) · 2.41 KB
/
countries.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
countries = ['Albania', 'Andorra', 'Armenia', 'Austria', 'Azerbaijan', 'Belarus', 'Belgium', 'Bosnia and Herzegovina',
'Bulgaria', 'Croatia', 'Cyprus', 'Czech Republic', 'Denmark', 'Estonia', 'Finland', 'France', 'Georgia', 'Germany',
'Greece', 'Hungary', 'Iceland', 'Ireland', 'Italy', 'Kazakhstan', 'Latvia', 'Liechtenstein', 'Lithuania', 'Luxembourg',
'Malta', 'Moldova', 'Monaco', 'Montenegro', 'Netherlands', 'North Macedonia', 'Norway', 'Poland', 'Portugal', 'Romania',
'Russia', 'San Marino', 'Serbia', 'Slovakia', 'Slovenia', 'Spain', 'Sweden', 'Switzerland', 'Turkey', 'Ukraine', 'United Kingdom',
'Vatican City']
euro_countries = ['Andorra', 'Austria', 'Belgium', 'Cyprus', 'Estonia', 'Finland', 'France', 'Germany', 'Greece', 'Ireland', 'Italy',
'Latvia', 'Lithuania', 'Luxembourg', 'Malta', 'Monaco', 'Montenegro', 'Netherlands', 'Portugal', 'San Marino', 'Slovakia', 'Slovenia',
'Spain', 'Vatican City']
subreddit_dict = {
"Bosnia and Herzegovina" : "bih",
"Czech Republic" : "czech",
"Estonia" : "Eesti",
"Georgia" : "Sakartvelo",
"North Macedonia" : "mkd",
"San Marino" : "San_Marino",
"United Kingdom" : "unitedkingdom",
"Vatican City" : "vatican"
}
flags = {
"ad": "Andorra",
"al": "Albania",
"am": "Armenia",
"at": "Austria",
"az": "Azerbaijan",
"ba": "Bosnia and Herzegovina",
"be": "Belgium",
"bg": "Bulgaria",
"by": "Belarus",
"ch": "Switzerland",
"cy": "Cyprus",
"cz": "Czech Republic",
"de": "Germany",
"dk": "Denmark",
"ee": "Estonia",
"es": "Spain",
"fi": "Finland",
"fr": "France",
"gb": "United Kingdom",
"ge": "Georgia",
"gr": "Greece",
"hr": "Croatia",
"hu": "Hungary",
"ie": "Ireland",
"is": "Iceland",
"it": "Italy",
"kz": "Kazakhstan",
"li": "Liechtenstein",
"lt": "Lithuania",
"lu": "Luxembourg",
"lv": "Latvia",
"mc": "Monaco",
"md": "Moldova",
"me": "Montenegro",
"mk": "North Macedonia",
"mt": "Malta",
"nl": "Netherlands",
"no": "Norway",
"pk": "Pakistan",
"pl": "Poland",
"pt": "Portugal",
"ro": "Romania",
"rs": "Serbia",
"ru": "Russia",
"se": "Sweden",
"si": "Slovenia",
"sk": "Slovakia",
"sm": "San Marino",
"tr": "Turkey",
"ua": "Ukraine",
"va": "Vatican City",
}
flags = dict((v, k) for k,v in flags.items())