-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.py
34 lines (31 loc) · 1.54 KB
/
constants.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
header = '''
____ _ _ _
| _ \ ___| |_(_) | _____ ___ _ __ ___
| | | |/ _ \ __| | |/ / __/ _ \| '_ ` _ \
| |_| | __/ |_| | < (_| (_) | | | | | |
|____/ \___|\__|_|_|\_\___\___/|_| |_| |_|
( )___
|/ ___| ___ _ __ __ _ _ __ ___ _ __
\___ \ / __| '__/ _` | '_ \ / _ \ '__|
___) | (__| | | (_| | |_) | __/ |
|____/ \___|_| \__,_| .__/ \___|_|
|_|
'''
category_ls_str = '(1) detikNews\n(2) detikFinance\n(3) detikSport \n(4) Sepakbola \
\n(5) detikHealth\n(6) detikHot\n(7) Wolipop\n(8) detikInet \
\n(9) detikFood\n(10) detikOto\n(11) detikTravel\n(12) detikEdu \
\n(13) detikHikmah\n(14) detikJateng\n(15) detikJatim\n(16) detikJabar \
\n(17) detikSulsel\n(18) detikSumut\n(19) detikBali\n(20) Semua Kategori'
category_id = {
1: 3, 2: 29, 3: 21, 4: 27, 5: 55,
6: 32, 7: 63, 8: 5, 9: 35, 10: 44,
11: 66, 12: 117, 13: 153, 14: 118, 15: 119,
16: 120, 17: 121, 18: 122, 19: 123
}
category_id_name = {
3: 'detiknews', 29: 'detikfinance', 21: 'detiksport', 27: 'sepakbola',
55: 'detikhealth', 32: 'detikhot', 63: 'wolipop', 5: 'detikinet',
35: 'detikfood', 44: 'detikoto', 66: 'detiktravel', 117: 'detikedu',
153: 'detikhikmah', 118: 'detikjateng', 119: 'detikjatim', 120: 'detikjabar',
121: 'detiksulsel', 122: 'detiksumut', 123: 'detikbali'
}