- This is a simple Python class to get data from any website without API.
- Scrapper makes use Selenium library for Python and chromedriver as well(or any other for your web browser).
- It's easy to use in any browser with XPATH copy and paste. You can use your own XPATH or CSS selectors.
- Install python 3.7+ https://www.python.org/downloads/windows/ (or version for you OS)
- Install pipenv
pip install --user pipenv. Docs are here: https://github.com/pypa/pipenv - To install all required packages run this command:
pipenv install - Download Chromedriver for yor own Google Chrome version (or your own, Gecko driver for Firefox etc.), from this page:
https://chromedriver.chromium.org and put it next to the
main.pyfile. - To start python script:
pipenv run py main.pyorpipenv run python main.py