18 lines
380 B
C#
18 lines
380 B
C#
using HtmlAgilityPack;
|
|
|
|
namespace MangaReader.Core.Metadata;
|
|
|
|
public abstract class MangaWebCrawler : IMangaMetadataProvider
|
|
{
|
|
public abstract SourceManga GetManga(string url);
|
|
|
|
protected virtual HtmlDocument GetHtmlDocument(string url)
|
|
{
|
|
HtmlWeb web = new()
|
|
{
|
|
UsingCacheIfExists = false
|
|
};
|
|
|
|
return web.Load(url);
|
|
}
|
|
} |