Each morning this MicroService downloads my newspaper and uploads it to my personal telegram group (single member group).
If you want to use this program you need a digital subscription of Morgenweb.de
Should also work for other newspaper of Visiolink.com
- Run install_py_libs as SU or with sudo
- Run Create_Config.js in browser
- Get Telegram Developer Key
- Get Telegram Group URL from Telegram Web
- Run Main.py for first config
{
"newsletter": {
"url": "digitalezeitung-bergstraesser-anzeiger.morgenweb.de",
"cookie_list": "xxxxxxxxxx",
"pdf_endpoint": "_ba-be_0.pdf"
"counter": 931
},
"upload_targets": {
"telegram": "https://t.me/joinchat/xxxxxxxxx"
}
}
chmod +x /home/YOUR_USER_NAME/Download-Newspaper/Run_Newspaper_Download.sh
crontab -e
10 7 * * * sh ~/Download-Newspaper/Run_Newspaper_Download.sh > /dev null 2>&1
* * * * * Command
- - - - -
| | | | |
| | | | +----- Weekday (0 - 7) (Sunday is 0 and 7)
| | | +------- Month (1 - 12)
| | +--------- Day (1 - 31)
| +----------- Hour (0 - 23)
+------------- Minute (0 - 59)