This is a library to parse public manga sites.
Repositories (manga sharing websites like MangaFox) have multiple series, series have chapters and chapters have pages. Pages can be queried for the their image, which is returned as a byte array.
Each call to Get[Series|Chapters|Pages|Image]Async results in the corresponding page from the repository being downloaded and the HTML parsed - expect those calls to take in the order of seconds.
var repository = EatMangaRepository.Instance var series = await repository.GetSeriesAsync(); var selectedSeries = series; var chapters = await selectedSeries.GetChaptersAsync(); var selectedChapter = chapters; var pages = await selectedChapter.GetPagesAsync(); var selectedPage = pages; var imageBytes = await selectedPage.GetImageAsync(); var suggestedPath = selectedPage.SuggestPath("C:\\WhereToSaveImage");
Repositories can also be searched like so:
var repository = EatMangaRepository.Instance var series = await repository.SearchSeriesAsync("Series name");