Commit Graph

10 Commits

Author SHA1 Message Date
Marc Koch c7ed193ad6 🐛 update username parameter (they renamed it) 2024-01-29 17:16:52 +01:00
Marc Koch efe6cc773e 💄 optimize imports 2022-10-12 18:04:25 +02:00
Marc Koch 5cbb849aba add possibility to upload files to Nextcloud webdav 2022-10-12 17:35:16 +02:00
Marc Koch e1380d81c2 add error handling for wrong credentials
Unfortunately, the taz website does not respond with an http error code if the credentials are wrong. So we have to check if the response is a pdf file or the html page with an error message.
2021-09-12 15:23:01 +02:00
Marc Koch 70e5d574c5 use os.path.join() instead of string concatenation to join paths
This change should make the program compatible with other operating systems.
2021-09-12 15:19:56 +02:00
Marc Koch dfa721e7c0 📝add help text to arguments 2021-09-09 20:54:25 +02:00
Marc Koch 2af37f96a4 ️ use download_history.csv instead of lock file to limit queries 2021-09-09 20:34:25 +02:00
Marc Koch 6e8d9d9ef8 ️ implement lock files and console arguments
- Use a lock file that indicates whether tomorrow's newspaper has already been downloaded to limit the number of times the taz.de website is queried for new editions
- use the program with command line arguments
2021-09-05 23:42:15 +02:00
Marc Koch 1297e0376b ️ create tmp folder if it does not exist 2021-09-02 16:17:07 +02:00
Marc Koch 6b7dcda8d7 🎉 Initial commit 2021-09-01 00:01:03 +02:00