Yassmen commited on
Commit
9bba861
·
verified ·
1 Parent(s): 868b712

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -43,7 +43,7 @@ import subprocess
43
 
44
 
45
  # Make sure the chromedriver is executable
46
- os.chmod('./chromedriver', 0o755)
47
  # Set up Chrome options
48
  options = webdriver.ChromeOptions()
49
  options.add_argument('--headless')
@@ -54,10 +54,10 @@ from selenium import webdriver
54
  options = webdriver.ChromeOptions()
55
  options.add_argument('--headless')
56
  driver = webdriver.Chrome(options=options)
57
- print(driver.capabilities['browserVersion'])
58
  driver.quit()
59
  # Initialize the ChromeDriver
60
- service = Service('./chromedriver')
61
  driver = webdriver.Chrome(service=service, options=options)
62
 
63
  from wuzzuf_scraper import Wuzzuf_scrapping
 
43
 
44
 
45
  # Make sure the chromedriver is executable
46
+ os.chmod('chromedriver', 0o755)
47
  # Set up Chrome options
48
  options = webdriver.ChromeOptions()
49
  options.add_argument('--headless')
 
54
  options = webdriver.ChromeOptions()
55
  options.add_argument('--headless')
56
  driver = webdriver.Chrome(options=options)
57
+ print("'''''",driver.capabilities['browserVersion'],"''''")
58
  driver.quit()
59
  # Initialize the ChromeDriver
60
+ service = Service('chromedriver')
61
  driver = webdriver.Chrome(service=service, options=options)
62
 
63
  from wuzzuf_scraper import Wuzzuf_scrapping