index
:
wikiget.git
docstrings
master
MediaWiki file downloader (mirror of https://github.com/clpo13/wikiget)
Cody Logan <cody@lokken.dev>
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
wikiget
/
dl.py
Age
Commit message (
Collapse
)
Author
2023-11-08
Ensure downloaded file handler is always closed
Cody Logan
2023-11-07
Improve logging optimization
Cody Logan
Defer string formatting until needed by removing f-strings in log messages.
2023-11-07
Use multiple context managers in a single with block
Cody Logan
2023-11-07
Simplify return logic of process_download
Cody Logan
2023-11-01
Rename some symbols and functions to better match their purpose
Cody Logan
2023-11-01
Make process_download return an exit code instead of exiting directly
Cody Logan
2023-11-01
Refactor download processing code and add some tests
Cody Logan
2023-11-01
Explicit return value
Cody Logan
2023-10-31
Return early during dry runs; update dev version number
Cody Logan
2023-10-30
Check for existing files earlier to avoid unnecessary API calls
Cody Logan
2023-10-30
Code cleanup
Cody Logan
2023-10-27
Condense error message when batch file is unreadable
Cody Logan
2023-10-27
Move batch file processing to parse module
Cody Logan
2023-10-24
Add dry run option, to test processing without actually downloading anything
Cody Logan
2023-10-24
Catch possible OS errors when verifying download
Cody Logan
2023-10-24
Tweak progress bar appearance
Cody Logan
2023-10-24
Move API client functions to separate module
Cody Logan
2023-10-24
Use per-module loggers and tweak initial log config
Cody Logan
2023-10-20
Add type annotations to source files
Cody Logan
2023-10-20
Move logging configuration to new file
Cody 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-20
Move batch_download function to proper file
Cody Logan
2023-10-20
Reorganize File class
Cody Logan
2023-10-17
Clean up exception handling and error messages
Cody Logan
2023-10-13
Refactor parsing logic and revise exception handling
Cody Logan
2023-10-03
Refactor for better code organization
Cody Logan
2023-10-03
Update README and do some code cleanup
Cody Logan
2023-09-26
Style and format fixes
Cody Logan
2023-09-26
Merge branch 'logging' into dev
Cody Logan
2023-09-26
Reorganize file tree
Cody Logan
2023-09-26
Reorganize code into src layout
Cody Logan