Add endpoint to add Manga by URL

This commit is contained in:
2025-03-08 13:09:19 +01:00
parent b24d2e12fc
commit a694b9f5ab
2 changed files with 39 additions and 1 deletions

View File

@ -41,5 +41,5 @@ public abstract class MangaConnector(string name, string[] supportedLanguages, s
internal abstract string[] GetChapterImageUrls(Chapter chapter);
protected bool ValidateUrl(string url) => BaseUris.Any(baseUri => Regex.IsMatch(url, "https?://" + baseUri + "/.*"));
public bool ValidateUrl(string url) => BaseUris.Any(baseUri => Regex.IsMatch(url, "https?://" + baseUri + "/.*"));
}