Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 780 Bytes

README.md

File metadata and controls

17 lines (15 loc) · 780 Bytes

Running the download-action results in an artifact which holds the leaflet pdf.

Default location is Frankfurt but if you want to get your local leaflet just use a PLZ as an argument. To run locally on a basic Ubunutu image check first if your installed chrome version already works if not use:

sudo apt purge google-chrome-stable
sudo apt purge chromium-browser
sudo apt install -y chromium-browser
pip install -r requirements.txt
python ./headless/chromium-headless.py $LOCAL_PLZ

For scheduled downloading change the following in download.yml using POSIX cron syntax. Currently the download job is dispatched every monday at 10:00 :

on:
  schedule:
    - cron '0 10 * * 1'