Commit Graph

15 Commits

Author SHA1 Message Date
Marc Koch 76c24041e0 Merge branch 'dev' into main 2021-09-12 15:26:20 +02:00
Marc Koch fec991792b 💄nicer log messages 2021-09-12 15:25:58 +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 46b049b1f7 Merge branch 'dev' into main 2021-09-09 20:55:26 +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 6286798e6c Merge branch 'dev' into main 2021-09-02 16:27:47 +02:00
Marc Koch e5445cb6b1 🐛 bug fix: error when deleting from download history 2021-09-02 16:26:59 +02:00
Marc Koch 1def0944b5 ⬇️ to pandas 1.1.5 2021-09-02 16:20:00 +02:00
Marc Koch 1297e0376b ️ create tmp folder if it does not exist 2021-09-02 16:17:07 +02:00
Marc Koch 12446bb04f Merge branch 'issue/cannot_move_files' into main 2021-09-01 14:10:42 +02:00
Marc Koch b8b2bf7dd7 🐛 bug fix: cannot move files 2021-09-01 14:08:37 +02:00
Marc Koch 6b7dcda8d7 🎉 Initial commit 2021-09-01 00:01:03 +02:00