aboutsummaryrefslogtreecommitdiff
path: root/src/wikiget/wikiget.py
AgeCommit message (Collapse)Author
2023-11-01Rename some symbols and functions to better match their purposeCody Logan
2023-11-01Condense parser construction logicCody Logan
2023-11-01Make process_download return an exit code instead of exiting directlyCody Logan
2023-11-01Refactor download processing code and add some testsCody Logan
2023-10-30Check for existing files earlier to avoid unnecessary API callsCody Logan
2023-10-30Code cleanupCody Logan
2023-10-24Add dry run option, to test processing without actually downloading anythingCody Logan
2023-10-24Use per-module loggers and tweak initial log configCody Logan
2023-10-23Factor out usage of args object in log configurationCody Logan
2023-10-20Add type annotations to source filesCody Logan
2023-10-20Move logging configuration to new fileCody Logan
Also, use a LoggerAdapter to add contextual info (such as filenames) to log messages when downloading, especially useful with threaded batch processing.
2023-10-20Move batch_download function to proper fileCody Logan
2023-10-20Reorganize File classCody Logan
2023-10-20Fix bug in batch downloadingCody Logan
An invalid line in the batch file would cause the last valid file to be downloaded twice.
2023-10-17Clean up exception handling and error messagesCody Logan
2023-10-13Refactor parsing logic and revise exception handlingCody Logan
2023-10-13Revise batch file parsing to ignore blank and commented linesCody Logan
Previously, blank lines would cause an error and lines prepended with "#" would be downloaded like any other, assuming they were valid. Now, "#" can be used to mark ignored files or comments.
2023-10-13Change logfile log level to debugCody Logan
2023-10-13Refactor code and improve docstringsCody Logan
2023-10-09Style cleanupCody Logan
2023-10-03Reduce repeated code in log configurationCody Logan
2023-10-03Add parallel download option in batch modeCody Logan
Number of download threads can be set with new -j option. Unfortunately, it's not that much faster than downloading in serial, since the API calls made before the downloads actually start are not (and ideally should not be) parallelized. Still, for large batches, it saves a bit of time. Known issue: due to the download threads writing to the log asynchronously, the messages get jumbled up. This will be fixed eventually.
2023-10-03Refactor for better code organizationCody Logan
2023-10-03Add short user and pass optionsCody Logan
Swapped path short option from -p to -P and added -u for username and -p for password
2023-10-03Update README and do some code cleanupCody Logan
2023-09-26Style and format fixesCody Logan
2023-09-26Merge branch 'logging' into devCody Logan
2023-09-26Reorganize file treeCody Logan
2023-09-26Reorganize code into src layoutCody Logan