Refactor and novel18 support (added cookie support in general to AbstractScraper.cs
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
using Treestar.Shared.Models.DBDomain;
|
||||
using Common.Models.DBDomain;
|
||||
|
||||
namespace WebNovelPortalAPI.Scrapers;
|
||||
|
||||
public interface IScraper
|
||||
{
|
||||
public bool MatchesUrl(string url);
|
||||
public Novel ScrapeNovel(string url);
|
||||
public string? ScrapeChapterContent(string chapterUrl);
|
||||
public Task<Novel> ScrapeNovel(string url);
|
||||
public Task<string?> ScrapeChapterContent(string chapterUrl);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user