From e6a3fa289923f7bd3818e7ed75c4b1cb57b03831 Mon Sep 17 00:00:00 2001 From: glax Date: Sat, 26 Aug 2023 01:46:36 +0200 Subject: [PATCH] public GetPublications --- Tranga/MangaConnectors/MangaConnector.cs | 2 +- Tranga/MangaConnectors/MangaDex.cs | 2 +- Tranga/MangaConnectors/MangaKatana.cs | 2 +- Tranga/MangaConnectors/Manganato.cs | 2 +- Tranga/MangaConnectors/Mangasee.cs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Tranga/MangaConnectors/MangaConnector.cs b/Tranga/MangaConnectors/MangaConnector.cs index 84decdc..9d28d8f 100644 --- a/Tranga/MangaConnectors/MangaConnector.cs +++ b/Tranga/MangaConnectors/MangaConnector.cs @@ -30,7 +30,7 @@ public abstract class MangaConnector : GlobalBase /// /// Search-Query /// Publications matching the query - protected abstract Publication[] GetPublications(string publicationTitle = ""); + public abstract Publication[] GetPublications(string publicationTitle = ""); /// /// Returns all Chapters of the publication in the provided language. diff --git a/Tranga/MangaConnectors/MangaDex.cs b/Tranga/MangaConnectors/MangaDex.cs index 025a5d8..2c25ba8 100644 --- a/Tranga/MangaConnectors/MangaDex.cs +++ b/Tranga/MangaConnectors/MangaDex.cs @@ -31,7 +31,7 @@ public class MangaDex : MangaConnector }, clone); } - protected override Publication[] GetPublications(string publicationTitle = "") + public override Publication[] GetPublications(string publicationTitle = "") { Log($"Searching Publications. Term=\"{publicationTitle}\""); const int limit = 100; //How many values we want returned at once diff --git a/Tranga/MangaConnectors/MangaKatana.cs b/Tranga/MangaConnectors/MangaKatana.cs index 0e61710..7a1b7a9 100644 --- a/Tranga/MangaConnectors/MangaKatana.cs +++ b/Tranga/MangaConnectors/MangaKatana.cs @@ -19,7 +19,7 @@ public class MangaKatana : MangaConnector }, clone); } - protected override Publication[] GetPublications(string publicationTitle = "") + public override Publication[] GetPublications(string publicationTitle = "") { Log($"Searching Publications. Term=\"{publicationTitle}\""); string sanitizedTitle = string.Join('_', Regex.Matches(publicationTitle, "[A-z]*").Where(m => m.Value.Length > 0)).ToLower(); diff --git a/Tranga/MangaConnectors/Manganato.cs b/Tranga/MangaConnectors/Manganato.cs index 5ef0e98..231afb2 100644 --- a/Tranga/MangaConnectors/Manganato.cs +++ b/Tranga/MangaConnectors/Manganato.cs @@ -19,7 +19,7 @@ public class Manganato : MangaConnector }, clone); } - protected override Publication[] GetPublications(string publicationTitle = "") + public override Publication[] GetPublications(string publicationTitle = "") { Log($"Searching Publications. Term=\"{publicationTitle}\""); string sanitizedTitle = string.Join('_', Regex.Matches(publicationTitle, "[A-z]*")).ToLower(); diff --git a/Tranga/MangaConnectors/Mangasee.cs b/Tranga/MangaConnectors/Mangasee.cs index a02ce20..9c068df 100644 --- a/Tranga/MangaConnectors/Mangasee.cs +++ b/Tranga/MangaConnectors/Mangasee.cs @@ -69,7 +69,7 @@ public class Mangasee : MangaConnector }); } - protected override Publication[] GetPublications(string publicationTitle = "") + public override Publication[] GetPublications(string publicationTitle = "") { Log($"Searching Publications. Term=\"{publicationTitle}\""); string requestUrl = $"https://mangasee123.com/_search.php";