From e49db9a4cb57f5012cb7e6bc3b7d13a6fe36681b Mon Sep 17 00:00:00 2001 From: glax Date: Thu, 25 Jan 2024 16:40:04 +0100 Subject: [PATCH] Change toplevel domain #103 --- Tranga/MangaConnectors/Mangaworld.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tranga/MangaConnectors/Mangaworld.cs b/Tranga/MangaConnectors/Mangaworld.cs index 4a32777..7f4dc93 100644 --- a/Tranga/MangaConnectors/Mangaworld.cs +++ b/Tranga/MangaConnectors/Mangaworld.cs @@ -19,7 +19,7 @@ public class Mangaworld: MangaConnector { Log($"Searching Publications. Term=\"{publicationTitle}\""); string sanitizedTitle = string.Join(' ', Regex.Matches(publicationTitle, "[A-z]*").Where(str => str.Length > 0)).ToLower(); - string requestUrl = $"https://www.mangaworld.bz/archive?keyword={sanitizedTitle}"; + string requestUrl = $"https://www.mangaworld.ac/archive?keyword={sanitizedTitle}"; RequestResult requestResult = downloadClient.MakeRequest(requestUrl, 1); if ((int)requestResult.statusCode < 200 || (int)requestResult.statusCode >= 300) @@ -56,7 +56,7 @@ public class Mangaworld: MangaConnector public override Manga? GetMangaFromId(string publicationId) { - return GetMangaFromUrl($"https://www.mangaworld.bz/manga/{publicationId}"); + return GetMangaFromUrl($"https://www.mangaworld.ac/manga/{publicationId}"); } public override Manga? GetMangaFromUrl(string url) @@ -130,7 +130,7 @@ public class Mangaworld: MangaConnector public override Chapter[] GetChapters(Manga manga, string language="en") { Log($"Getting chapters {manga}"); - string requestUrl = $"https://www.mangaworld.bz/manga/{manga.publicationId}"; + string requestUrl = $"https://www.mangaworld.ac/manga/{manga.publicationId}"; RequestResult requestResult = downloadClient.MakeRequest(requestUrl, 1); if ((int)requestResult.statusCode < 200 || (int)requestResult.statusCode >= 300)