Test assessment by Introlab. Scraper uses Selenium with Chrome Driver so you should have Google Chrome browser installed.
If have any other browser and want to use it instead of Google Chrome, then you should comment line 25 in scrape.py and uncomment line with browser you want to use(Located under Chrome's line).
- Clone repo:
git clone https://github.com/Kirom/Yahoo_finance_scraper.git
- Create virtualenv, for example:
python3 -m venv venv
orvirtualenv -p python3 venv
- Activate it
source venv/bin/activate
- Install all the packages
pip install -r requirements.txt
- [Alternative] Change browser you want to use in scrape.py
- Start scraper script
python scrape.py