public GetPublications
This commit is contained in:
parent
2d82279d98
commit
e6a3fa2899
@ -30,7 +30,7 @@ public abstract class MangaConnector : GlobalBase
|
||||
/// </summary>
|
||||
/// <param name="publicationTitle">Search-Query</param>
|
||||
/// <returns>Publications matching the query</returns>
|
||||
protected abstract Publication[] GetPublications(string publicationTitle = "");
|
||||
public abstract Publication[] GetPublications(string publicationTitle = "");
|
||||
|
||||
/// <summary>
|
||||
/// Returns all Chapters of the publication in the provided language.
|
||||
|
@ -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
|
||||
|
@ -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();
|
||||
|
@ -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();
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user