aboutsummaryrefslogtreecommitdiff
path: root/src/wikiget
AgeCommit message (Collapse)Author
2023-10-31Return early during dry runs; update dev version numberCody Logan
2023-10-30Bump version numberv0.7.0Cody Logan
2023-10-30Fix copyright years for new files containing old codeCody Logan
2023-10-30Check for existing files earlier to avoid unnecessary API callsCody Logan
2023-10-30Code cleanupCody Logan
2023-10-30Fix reported problematic input in parsing error messageCody Logan
When the input is an invalid URL, the error message will report the whole input string instead of a URL fragment.
2023-10-30Accept batch input from stdinCody Logan
2023-10-27Condense error message when batch file is unreadableCody Logan
2023-10-27Fix ttest errors in Python 3.7 and 3.8Cody Logan
2023-10-27Move batch file processing to parse moduleCody Logan
2023-10-24Bump version for dev branchCody Logan
2023-10-24Add dry run option, to test processing without actually downloading anythingCody Logan
2023-10-24Catch possible OS errors when verifying downloadCody Logan
2023-10-24Tweak progress bar appearanceCody Logan
2023-10-24Move API client functions to separate moduleCody Logan
2023-10-24Fix bug in logging that silenced most messagesCody 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-20Bump version numberv0.6.0Cody 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-13Update copyright yearCody 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