Releases: m-haisham/novelsave
Version 0.7.3
- Switched to built-in concurrent module
- Support for
novelsave_sources
v0.2.0
Version 0.7.2
Fix novelsave-sources==0.1.1
import error
Version 0.7.1
Check for updates
App now checks for upgrades to novelsave and sources at the end. An example of reminder is:
WARNING: Following packages have new versions available: novelsave-sources==0.1.1.
Run the following command to upgrade:
python -m pip install --upgrade novelsave-sources
New command: list
Show all the novels and its source in database.
novelsave list
Minor
- All novel urls must now end in slash
/
and will be adjusted appropriately. - Show logging level label if its not info
DEBUG: ...
ERROR: ...
. - Handle connection error during updating and remind to check for internet connection.
- Logger now keeps an individual log file for each run that is compressed at end.
- Some adjustments to log console output.
Version 0.7.0
This version builds the application from ground up to include clean architecture elements. This should decrease the cost of maintenance over time as well as effort needed for new features.
This version completely breaks continuity with all the previous versions.
Install
Due to the extreme change in code it is recommended that you explicitly uninstall the existing version
pip uninstall novelsave
and force reinstall novelsave and its dependencies (otherwise dependencies might not upgrade)
pip install novelsave --force
Major Changes
Command-Line Interface
There has been a major rework on the cli, read more in README.md
Images/Assets
Assets support have been added. While currently only supports images, the plan is to extend support to include fonts and css styles.
<img>
tags are identified on chapter contents after parsing and the source is downloaded and embedded into the e-book when packaged.
Database
We are no longer using json files as databases. They proved increase the effort needed to develop new features and any changes to the schema would be breaking lest significant time was spent on developing migrations.
For this reason the application database has been reimplemented in sqlite managed by sqlalchemy
and alembic
.
For windows database can be located at: %USERPROFILE%\AppData\Local\Mensch272\novelsave
Significant changes include:
- Support for multiple urls per novel
- Support for assets.
Version 0.6.4
Less is more
This update doesn't add much. Its mainly focused on towards removing what isn't needed anymore.
As such we will be leaving requirements TinyDB and Yattag.
TinyDB
As TinyDB, which was used as the main database driver has being removed, #32 the database has been rewritten.
While it still utilizes json the tables will use different structures (such as lists or dicts) depending on the type of data its storing. As the end-user you will not notice any changes. Though if you look closer, some database files sizes may be a few kilobytes smaller.
Yattag
Yattag was not contributing much, in fact its usage was increasing the no. of lines of code in epub.py
. As such it was a very natural removal.
Sources
New sources added include
Chapter scraping issues from https://boxnovel.com was fixed.
Sources have been refactored to encompass metadata and novels.
Minor
Version 0.6.3
This update includes a full UI/UX overhaul. Hopefully this allows for a better user experience.
Read more about the changes to the UI/UX #28.
Some noteworthy changes include
Banner
___
/\_ \
___ ___ __ __ __\//\ \ ____ __ __ __ __
/' _ `\ / __`\/\ \/\ \ /'__`\\ \ \ /',__\ /'__`\ /\ \/\ \ /'__`\
/\ \/\ \/\ \L\ \ \ \_/ |/\ __/ \_\ \_/\__, `\/\ \L\.\_\ \ \_/ |/\ __/
\ \_\ \_\ \____/\ \___/ \ \____\/\____\/\____/\ \__/.\_\\ \___/ \ \____\
\/_/\/_/\/___/ \/__/ \/____/\/____/\/___/ \/__/\/_/ \/__/ \/____/
v0.6.3 - https://github.com/mHaisham/novelsave
Exceptions
All exceptions are now captured and replaced by more helpful colored messages. If you find an exception do create a new issue.
Sources
New sources added include
- https://foxaholic.com/
- https://chrysanthemumgarden.com/
- https://peachpitting.com/
- https://betwixtedbutterfly.com/
- https://dummynovels.com/
- https://www.chickengege.org/
- https://wuxiaworld.online/
- https://novelonlinefull.com/
- https://www.novelpassion.com/
Command Line Interface
Default sub-command novel
novel has been set as the default sub-command.
Which means that this command
novelsave novel <url> -u -p -c
can be shortened to this
novelsave <url> -u -p -c
and it would work as if novel has been passed to it
-v
--verbose
This flag was removed in favor of making verbose mode the default.
--plain
The flag was added as an opposite to --verbose
mode. This makes the output of the program more concise so that it may be piped to other programs.
--no-input
This newly added flag tells the program to not expect any inputs or interaction.
--yes
This flag was added to the sub-command list.
When used, the program skips the confirmation in --reset
and --delete
.
--use-cookies
-> --cookies-from
Renamed because the last one was found to be more comprehensive
--dir
-> --save-dir
This was renamed as the previous command was found to be too ambiguous.
Version 0.6.2
Features
- Added source https://dragontea.ink 67fee0c
- Added source https://novelsite.net d93db7a
- Expanded browser cookie support b7a2635
- added chromium, opera, and edge cookie support
- Persistent cookies #21
- Added command
list
to manipulate existing novels
Changes
- Changed commandline to use sub parsers
novel
config
list
- Changed commandline syntax for browser cookies 554de95
- new syntax
--use-cookies [browser]
- new syntax
Fixes
Version 0.6.1
Features
- Added source https://www.wattpad.com 85d6029
- Added source https://forums.sufficientvelocity.com 0c423aa
- Login and browser cookies #19
Changes
- Changed exception TypeError to MissingSource(TypeError) c86303d
- Added retry to source request 09bc88a
- Internal console ui overhaul 6fcc24c
- chapter download controller creates no more threads than necessary ed0b360
- no more 4 threads to download a chapter
Fixes
Version 0.6.0
Version 0.5.10
Changes
- Added source https://forums.spacebattles.com/ 9c53b7d