Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # for timing calculations and sleeping the scraper
- import time
- # import the Selenium
- from selenium import webdriver
- from selenium.webdriver.chrome.service import Service
- from selenium.webdriver.common.by import By
- # web driver manager: https://github.com/SergeyPirogov/webdriver_manager
- # will help us automatically download the web driver binaries
- # then we can use `Service` to manage the web driver's state.
- from webdriver_manager.chrome import ChromeDriverManager
- options = webdriver.ChromeOptions()
- options.headless = True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement