Skip to content

Releases: m-haisham/novelsave

Version 0.7.3

10 Sep 18:02
Compare
Choose a tag to compare
  • Switched to built-in concurrent module
  • Support for novelsave_sources v0.2.0

Version 0.7.2

01 Sep 10:55
Compare
Choose a tag to compare

Fix novelsave-sources==0.1.1 import error

Version 0.7.1

31 Aug 21:04
Compare
Choose a tag to compare

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

28 Aug 00:58
Compare
Choose a tag to compare

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

12 May 23:26
Compare
Choose a tag to compare

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

  • Updated setup data c32bb85
  • Properly discard download threads 1437167
  • Much more tests have been added

Version 0.6.3

03 May 12:04
Compare
Choose a tag to compare

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

Read more

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

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

02 Mar 17:27
Compare
Choose a tag to compare

Features

Changes

  • Changed commandline to use sub parsers
    • novel config list
  • Changed commandline syntax for browser cookies 554de95
    • new syntax --use-cookies [browser]

Fixes

  • Remove pirate tag from webnovel 54d5cae
  • Fix duplicate metadata issue 8fb50b7
  • Fix webnovel chapter download issue c8fd2ce

Version 0.6.1

04 Jan 20:14
Compare
Choose a tag to compare

Features

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

  • Fixed spacebattles profile access denied (403) issue b4c394e
  • Fixed spacebattles.py formatting issue ed0b360

Version 0.6.0

22 Dec 10:59
Compare
Choose a tag to compare

Features

  • Added commands
    • --meta META extracts metadata from provided url (url must be from a supported source) 12a0e80
    • --remove-meta removes currently stored metadata d637242

Changes

Version 0.5.10

18 Dec 15:06
Compare
Choose a tag to compare