Skip to content

Automatically downloads the current Tegut leaflet.

Notifications You must be signed in to change notification settings

d3risch/tegut-deals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'

About

Automatically downloads the current Tegut leaflet.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages