Python/Bash script to download, convert, rename file from Web

Viewed 31

I am working with a digital signage device, which displays the Lunchplan for each week on a monitor. My workflow at the moment looks as follows:

  1. Download every Monday the PDF file of the new Lunchplan ( the website that stores the file always follow the same URL-Scheme -> www.lunchplan_week_XX_.com; the XX gets supstitutet for the Calendar Week)
  2. Convert the PDF to Png using an online converter
  3. Rename the file ( lunchplan_w_XX.png )
  4. Store the file in the folder that gets accesed by the digital signage device

My question now is, how would I go about writing a script to automate some of these steps? I know Python, but id also learn Bash if thats nececarry.

0 Answers
Related