When a novel URL that is already present in the database is entered, the system checks if the current chapter's URL on the site matches our novel.current_chapter_url (mention of the database). If they match, a message informs the user that the novel is up to date. If they don't match, the system determines the number of chapters that need updating and fetches chapters starting after the last stored one to the current chapter.
Update Epub
The process of updating Epub files is efficient as it involves retrieving stored chapter text from the database and combining it with new chapters to create a new Epub file.
Update PDF
New chapters now rely on the novel.save_location to locate an existing PDF. Prior to this update, PDF locations were not stored in the database. If you encounter errors related to PDF not being found, you can either update the database directly or modify the documentsFolder variable in Benny-Scraper.BusinessLogic.NovelProcessor.cs within the UpdateExistingNovelAsync() method.
Additional changes have been made to ensure compatibility with novels added before this update. Notably, the UpdateNovel() method now stores the novel.current_chapter_url.
Other Changes
other changes were made to ensure that things would work for those with novels added before this update. One change is that the UpdateNovel() method now stores the novel.current_chapter_url
If you have any questions or would like to contribute, please feel free to ask and get involved.
Check for Update
novel.current_chapter_url
(mention of the database). If they match, a message informs the user that the novel is up to date. If they don't match, the system determines the number of chapters that need updating and fetches chapters starting after the last stored one to the current chapter.Update Epub
Update PDF
novel.save_location
to locate an existing PDF. Prior to this update, PDF locations were not stored in the database. If you encounter errors related to PDF not being found, you can either update the database directly or modify thedocumentsFolder
variable inBenny-Scraper.BusinessLogic.NovelProcessor.cs
within theUpdateExistingNovelAsync()
method.UpdateNovel()
method now stores thenovel.current_chapter_url
.Other Changes
UpdateNovel()
method now stores thenovel.current_chapter_url
If you have any questions or would like to contribute, please feel free to ask and get involved.