Releases: gaesa/go-wenku8-downloader
Releases · gaesa/go-wenku8-downloader
v0.1.1
v0.1.0
[0.1] - 2025-03-19
🚀 Features
- Notify when download skipped
- Save intermediate files in temporary folder and output EPUB to user Downloads
- Prompt user before overwriting existing EPUB file
🐛 Bug Fixes
- Not to show
\uor\n - Not to treat Do-nothing as error
- Make the log file not executable
- Use correct variable in
formatFilenameregex - Correctly show retry times
- Accept upper case in
getInputBool - Not to remove too many characters in
formatFilename - Check dir existence before checking file existence
- Make
CheckDirnot to miss any error
🚜 Refactor
- Avoid the redundant type conversion
[]byte(file) - Remove an unnecessary lambda
- Remove unnecessary Han character check in filename formatting
- Modernize
forusing range over int - Remove a redundant error check
- Remove the magic number
- Prefer
url.Parse&ResolveReferencethanstrings.ReplaceAll - Prefer
ReplaceAllthanReplacewith-1 - Add abstraction to
GetChapterContent - Invert condition to remove a
continuefor better readability - Remove more
continueto improve readability
🎨 Styling
- Remove redundant newlines
- Correct the use of punctuation
- Better retry information
⚙️ Miscellaneous Tasks
- Use
io.ReadAllinstead ofioutil.ReadAll - Update author names in
import,moduleand link go mod tidy- Better default image download behaviour
- Update repo name