File size: 1,466 Bytes
e00db83
a447435
8fad9a0
a447435
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
DATA_PATH = './data/'
OUTPUT_PATH = './output'
INDEX_FILENAME = f'{OUTPUT_PATH}/index.json'

URLS = [
	'https://dmi.gov.in/Documents/GrantCAGrapes.pdf',
	'https://dmi.gov.in/Documents/organicfaq.pdf',
	'https://dmi.gov.in/Documents/CAGMOrganic-III.pdf',
	'https://dmi.gov.in/GradesStandard.aspx',
	'https://www.india.gov.in/topics/agriculture',
	'https://www.india.gov.in/farmers-portal',
	
	# Pest Management related
	'https://niphm.gov.in/IPMPackages/Maize.pdf',
	
	# Mandi Price related
	'https://agmarknet.gov.in/',
	'https://enam.gov.in/web/dashboard/trade-data',
	
	# General information related: Information of interests are present on the 2nd level url
	'https://agricoop.nic.in/#gsc.tab=0',
	'https://www.manage.gov.in/nf/nf.asp',
	
	# Weather forecast related
	'https://nwp.imd.gov.in/blf/blf_temp/',   # need to select state -> district (on the new page) -> displays detailed table -> can get info at the block level as well from the same page on selection
	'https://nwp.imd.gov.in/blf/blf_temp/dis.php?value=12gujarat',   # to get weather forecast for the given state
	'https://nwp.imd.gov.in/blf/blf_temp/block.php?dis=12BHAVNAGAR',   # to get the weather forecast for the given district
]


# Supported Indian laguages for translating the English text to Indian language
INDIC_LANGUAGE = {
	'Hindi': 'hi',
	'Gujarati': 'gu',
	'Kannada': 'kn',
	'Marathi': 'mr',
	'Panjabi': 'pa',
	'Bengali': "bn",
	'Telugu': 'te',
	'Tamil': 'ta',
	'Malayalam': 'ml',
}