Default language GetChapters: en
This commit is contained in:
parent
4d1e43e7b3
commit
a89a526fda
@ -39,7 +39,7 @@ public abstract class MangaConnector : GlobalBase
|
|||||||
/// <param name="publication">Publication to get Chapters for</param>
|
/// <param name="publication">Publication to get Chapters for</param>
|
||||||
/// <param name="language">Language of the Chapters</param>
|
/// <param name="language">Language of the Chapters</param>
|
||||||
/// <returns>Array of Chapters matching Publication and Language</returns>
|
/// <returns>Array of Chapters matching Publication and Language</returns>
|
||||||
public abstract Chapter[] GetChapters(Publication publication, string language = "");
|
public abstract Chapter[] GetChapters(Publication publication, string language="en");
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Updates the available Chapters of a Publication
|
/// Updates the available Chapters of a Publication
|
||||||
|
@ -150,7 +150,7 @@ public class MangaDex : MangaConnector
|
|||||||
return publications.ToArray();
|
return publications.ToArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
public override Chapter[] GetChapters(Publication publication, string language = "")
|
public override Chapter[] GetChapters(Publication publication, string language="en")
|
||||||
{
|
{
|
||||||
Log($"Getting chapters {publication}");
|
Log($"Getting chapters {publication}");
|
||||||
const int limit = 100; //How many values we want returned at once
|
const int limit = 100; //How many values we want returned at once
|
||||||
|
@ -137,7 +137,7 @@ public class MangaKatana : MangaConnector
|
|||||||
year, originalLanguage, status, publicationId);
|
year, originalLanguage, status, publicationId);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override Chapter[] GetChapters(Publication publication, string language = "")
|
public override Chapter[] GetChapters(Publication publication, string language="en")
|
||||||
{
|
{
|
||||||
Log($"Getting chapters {publication}");
|
Log($"Getting chapters {publication}");
|
||||||
string requestUrl = $"https://mangakatana.com/manga/{publication.publicationId}";
|
string requestUrl = $"https://mangakatana.com/manga/{publication.publicationId}";
|
||||||
|
@ -125,7 +125,7 @@ public class Manganato : MangaConnector
|
|||||||
year, originalLanguage, status, publicationId);
|
year, originalLanguage, status, publicationId);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override Chapter[] GetChapters(Publication publication, string language = "")
|
public override Chapter[] GetChapters(Publication publication, string language="en")
|
||||||
{
|
{
|
||||||
Log($"Getting chapters {publication}");
|
Log($"Getting chapters {publication}");
|
||||||
string requestUrl = $"https://chapmanganato.com/{publication.publicationId}";
|
string requestUrl = $"https://chapmanganato.com/{publication.publicationId}";
|
||||||
|
@ -212,7 +212,7 @@ public class Mangasee : MangaConnector
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public override Chapter[] GetChapters(Publication publication, string language = "")
|
public override Chapter[] GetChapters(Publication publication, string language="en")
|
||||||
{
|
{
|
||||||
Log($"Getting chapters {publication}");
|
Log($"Getting chapters {publication}");
|
||||||
XDocument doc = XDocument.Load($"https://mangasee123.com/rss/{publication.publicationId}.xml");
|
XDocument doc = XDocument.Load($"https://mangasee123.com/rss/{publication.publicationId}.xml");
|
||||||
|
Loading…
Reference in New Issue
Block a user