Shard.WebsiteScraper 1.2.1

dotnet add package Shard.WebsiteScraper --version 1.2.1                
NuGet\Install-Package Shard.WebsiteScraper -Version 1.2.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Shard.WebsiteScraper" Version="1.2.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Shard.WebsiteScraper --version 1.2.1                
#r "nuget: Shard.WebsiteScraper, 1.2.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Shard.WebsiteScraper as a Cake Addin
#addin nuget:?package=Shard.WebsiteScraper&version=1.2.1

// Install Shard.WebsiteScraper as a Cake Tool
#tool nuget:?package=Shard.WebsiteScraper&version=1.2.1                

NuGet Downloads License

WebsiteScraper

WebsiteScraper is a powerful library that allows you to easily download comics and manga from various websites. With its intuitive interface and advanced parsing capabilities, you can quickly fetch and save your favorite content for offline reading. This readme provides an overview of how to use the WebsiteScraper library and includes some example code snippets to get you started.

Installation

To use WebsiteScraper in your project, you can install it via NuGet package manager or by manually adding the library to your project references.

Usage

  1. Import the WebsiteScraper library in your code:
using WebsiteScraper;
  1. Create a Website object:
Website website = Website.LoadWebsite("Destination");

Make sure to replace "Destination" with the destination file of the website you want to scrape. An example for a website file is provided in the repository.

  1. Download all links for new and recommended comics:
Comic[] newComics = website.LoadNewsAsync<Comic>();
Comic[] recommendedComics = website.LoadExtraAsync<Comic>("Recommended");

These methods fetch all the links for new and recommended comics respectively. The Comic class should be defined based on your specific website structure.

  1. Get comic information:
comic.UpdateAsync();

This method retrieves and updates the comic information for the previously loaded links.

  1. Download the first chapter of a comic:
comic.Chapter[0].DownloadAsync("Destination");

Replace "Destination" with the desired location to save the downloaded chapter.

Example

An example for a website is provided in the repository. You can refer to this example for a better understanding of how to use the WebsiteScraper library in your own projects.

Please note that the example provided may need to be modified based on the structure and requirements of the specific website you are targeting.

Easily add your own websites with the Website Creator WPF application.

Contributing

Contributions to the WebsiteScraper library are welcome. If you encounter any bugs, have feature requests, or want to improve the library in any way, please feel free to open an issue or submit a pull request.

License

The WebsiteScraper library is released under the MIT License. You are free to use, modify, and distribute the library in any way you see fit.

Free Code and Free to Use

Have fun!
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.1 92 10/30/2024
1.2.0 270 12/14/2023
0.1.1 176 11/20/2023
0.1.0 139 11/18/2023

Update Shard.DownloadAssistant Version to 1.0.3