Skip to content

inshapardaz/RekhtaDownloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rekhta Downloader

A library to download books from rekhta website.

Build Status

.NET

NuGet version

Usage

Add reference to your c# application. You can access the functionaltiy using BookExporter class. Create an instance and call download function using the following code snippet:

var downloader = new BookExporter(new ConsoleLogger());
await downloader.DownloadBook(url, taskCount, authtkeyName, authKey, OutputType.Pdf, CancellationToken.None);

Parameters

  1. url

This is the url of the rekhta book. This is not the rekhta books main page but for the page where you can see the actual pages from book.

  1. taskCount

Integer value telling how many parallal threads to use for downloading book.

  1. OutputType

Specifies the type of output wanted. Possible values are OutputType.Pdf and OutputType.Images. In case of Pdf the output will be created in the root folder of application with name same as name of book. Images will be stored in a folder with name matching book.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages