Updated web crawler logic.
This commit is contained in:
@@ -3,13 +3,13 @@ using MangaReader.Core.Metadata;
|
||||
|
||||
namespace MangaReader.Core.Sources.NatoManga.Metadata;
|
||||
|
||||
public class NatoMangaWebCrawler : MangaWebCrawler, IMangaSourceComponent
|
||||
public class NatoMangaWebCrawler : MangaWebCrawler
|
||||
{
|
||||
public string SourceId => "NatoManga";
|
||||
public override string SourceId => "NatoManga";
|
||||
|
||||
public override SourceManga GetManga(string url)
|
||||
public override async Task<SourceManga?> GetMangaAsync(string url, CancellationToken cancellationToken)
|
||||
{
|
||||
HtmlDocument document = GetHtmlDocument(url);
|
||||
HtmlDocument document = await GetHtmlDocumentAsync(url, cancellationToken);
|
||||
NatoMangaHtmlDocument node = new(document);
|
||||
|
||||
SourceManga manga = new()
|
||||
|
||||
Reference in New Issue
Block a user