11 lines
254 B
C#
11 lines
254 B
C#
using Common.Models.DBDomain;
|
|
|
|
namespace WebNovelPortalAPI.Scrapers;
|
|
|
|
public interface IScraper
|
|
{
|
|
public bool MatchesUrl(string url);
|
|
public Task<Novel> ScrapeNovel(string url);
|
|
public Task<string?> ScrapeChapterContent(string chapterUrl);
|
|
|
|
} |