Neurolingua
commited on
Commit
•
8dee956
1
Parent(s):
329a050
Update other_function.py
Browse files- other_function.py +1 -2
other_function.py
CHANGED
@@ -125,9 +125,8 @@ def get_rates():
|
|
125 |
chrome_options.add_argument("--enable-automation")
|
126 |
|
127 |
# Initialize the WebDriver with the headless option
|
128 |
-
service = Service("/usr/local/bin/chromedriver")
|
129 |
|
130 |
-
driver = webdriver.Chrome(
|
131 |
|
132 |
# Open the website
|
133 |
driver.get('https://www.kisandeals.com/mandiprices/ALL/TAMIL-NADU/ALL')
|
|
|
125 |
chrome_options.add_argument("--enable-automation")
|
126 |
|
127 |
# Initialize the WebDriver with the headless option
|
|
|
128 |
|
129 |
+
driver = webdriver.Chrome(options=chrome_options)
|
130 |
|
131 |
# Open the website
|
132 |
driver.get('https://www.kisandeals.com/mandiprices/ALL/TAMIL-NADU/ALL')
|