faridans27 commited on
Commit
e181ec0
1 Parent(s): 2e26af4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,8 +18,8 @@ def scrapeJobDescription(url):
18
  options = Options()
19
  options.add_argument("--window-size=1920,1080")
20
  options.add_argument("--headless=new")
21
-
22
- driver = webdriver.Chrome(options=options)
23
  driver.get(url)
24
  html = driver.page_source
25
  soup = BeautifulSoup(html, "html.parser")
 
18
  options = Options()
19
  options.add_argument("--window-size=1920,1080")
20
  options.add_argument("--headless=new")
21
+ driver = webdriver.Chrome(ChromeDriverManager().install(), options=options)
22
+ # driver = webdriver.Chrome(options=options)
23
  driver.get(url)
24
  html = driver.page_source
25
  soup = BeautifulSoup(html, "html.parser")