#180 Option to disable/enable MangaConnectors

This commit is contained in:
2025-03-07 11:45:45 +01:00
parent 5921e524a9
commit 949c0cc16d
6 changed files with 806 additions and 27 deletions

View File

@ -14,6 +14,8 @@ public abstract class MangaConnector(string name, string[] supportedLanguages, s
public string[] SupportedLanguages { get; init; } = supportedLanguages;
public string[] BaseUris { get; init; } = baseUris;
public bool Enabled { get; internal set; } = true;
public abstract (Manga, List<Author>?, List<MangaTag>?, List<Link>?, List<MangaAltTitle>?)[] GetManga(string publicationTitle = "");
public abstract (Manga, List<Author>?, List<MangaTag>?, List<Link>?, List<MangaAltTitle>?)? GetMangaFromUrl(string url);