Sync your Albert Heijn schedule with your Google calendar.
- Change your settings in
webscraper/settings.yaml
- Change the albert-heijn credentials.
- Change the path to your phantomjs.exe.
On linux, install PhantomJS by installing the following:
sudo apt-install nodejs sudo apt-get install nodejs-legacy sudo apt-get install npm sudo npm -g install phantomjs-prebuilt
- Request
a google calendar api key and store the
client_secret.json
inwebscraper/
. (Guide on how to request a key) - Install the required dependencies.
- Google Client Library
- Selenium
- Beautifulsoup4
- PyYAML
- Requests
- Httplib2
- Six
- Uritemplate
- pyRFC3339
- pytz
- apiclient
pip install -r requirements.txt
- Change the
showbrowser
setting inwebscraper/settings.yaml
to true - Change
geckopath
to your geckodriver path. - Make sure you have Firefox installed.