Neurolingua commited on
Commit
36eaf91
1 Parent(s): 530bd54

Update other_function.py

Browse files
Files changed (1) hide show
  1. other_function.py +6 -6
other_function.py CHANGED
@@ -107,12 +107,12 @@ def get_weather(city):
107
  def get_rates():
108
 
109
  headers = {
110
- 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36',
111
- 'Accept-Language': 'en-US,en;q=0.9',
112
- 'Referer': 'https://www.google.com',
113
- 'Connection': 'keep-alive',
114
- }
115
-
116
 
117
  # URL for fetching mandi prices for all states in India
118
  url = 'https://www.kisandeals.com/mandiprices/ALL/ALL/ALL'
 
107
  def get_rates():
108
 
109
  headers = {
110
+ 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36',
111
+ 'Accept-Language': 'en-IN,en;q=0.9',
112
+ 'Referer': 'https://www.google.co.in/',
113
+ 'Connection': 'keep-alive',
114
+ }
115
+
116
 
117
  # URL for fetching mandi prices for all states in India
118
  url = 'https://www.kisandeals.com/mandiprices/ALL/ALL/ALL'