martial-god / Benny-Scraper

Webnovel and Manga Scraper that stores Webnovels as Epubs, and mangas as either PDFs of Comicbook Archives
https://feahnthor.github.io/
GNU General Public License v3.0
27 stars 4 forks source link

[Enhancement] Add /novelbin.com #54

Open feahnthor opened 3 months ago

feahnthor commented 3 months ago

Add the site https://novelbin.com/. image

This site is very similar to the novelfull.com site, therefore, you can use the current NovelFullStrategy and places novelfull is mentioned as a reference.

Tips


  1. Update the appsettings.json a. The new novel must be added inside of the "SiteCorfigurations" array. b. Follow the instructions created here How to add new Site to Benny-Scraper for getting started by updating the appsettings.json.
  2. Create new strategy called NovelBinStrategy in the Benny-Scraper.BusinessLogic project, in the "Scrapers\Strategy" folder a. Ensure a NovelBinInitializer class is created that inherits from NovelDataInitializer. b. The attributesToFetch should be similar novelfull, however, the options should be determined by what is necessary to create the scraper.
  3. Add site URL along with the target strategy to HttpNovelScraper.cs AddSupportForWebSite() method.
  4. Run the application and verify that novels can be retrieved without any issues. Download an epub reader in order to validate the files open successfully.

This task is intended to be done by someone other than me to see how hard it is for others to add a new site.