The code is very similar to webscraping(my_repo
), but this time launching chrome browser instead of
just requesting the page. With Python, controlling the browser, instead of just getting HTML.
Selenium
library- A WebDriver (Chromedriver)
Install selenium
in your Virtual Environment
Each of the major browsers releases a webdriver for their browser. It essentially allows other applications to interact with the browser. Here i'm using
Chrome WebDriver
.
Make sure to download the version for your browser (e.g v84 if you're using Chrome v84) and de-compressed executable.
- Automated_Search_Quote :
Quotes to Scrape