From ee52fad6e6b861b906c7ab0f5c7a0e7c47d5c87c Mon Sep 17 00:00:00 2001 From: fixx1983 Date: Thu, 15 Apr 2021 20:30:40 +0200 Subject: [PATCH] Updated the Mangaworld domain (#6567) * Update Mangaworld.kt * Update build.gradle --- src/it/mangaworld/build.gradle | 2 +- .../tachiyomi/extension/it/mangaworld/Mangaworld.kt | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/it/mangaworld/build.gradle b/src/it/mangaworld/build.gradle index 751806e0f..7e580d11e 100644 --- a/src/it/mangaworld/build.gradle +++ b/src/it/mangaworld/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Mangaworld' pkgNameSuffix = 'it.mangaworld' extClass = '.Mangaworld' - extVersionCode = 3 + extVersionCode = 4 libVersion = '1.2' containsNsfw = true } diff --git a/src/it/mangaworld/src/eu/kanade/tachiyomi/extension/it/mangaworld/Mangaworld.kt b/src/it/mangaworld/src/eu/kanade/tachiyomi/extension/it/mangaworld/Mangaworld.kt index 0acbe3993..639d806df 100644 --- a/src/it/mangaworld/src/eu/kanade/tachiyomi/extension/it/mangaworld/Mangaworld.kt +++ b/src/it/mangaworld/src/eu/kanade/tachiyomi/extension/it/mangaworld/Mangaworld.kt @@ -25,7 +25,7 @@ import java.util.Locale class Mangaworld : ParsedHttpSource() { override val name = "Mangaworld" - override val baseUrl = "https://www.mangaworld.cc" + override val baseUrl = "https://www.mangaworld.io" override val lang = "it" override val supportsLatest = true override val client: OkHttpClient = network.cloudflareClient @@ -151,8 +151,8 @@ class Mangaworld : ParsedHttpSource() { val metaData = document.select("div.comic-info").first() val manga = SManga.create() - manga.author = infoElement.select("a[href^=https://www.mangaworld.cc/archive?author=]").first()?.text() - manga.artist = infoElement.select("a[href^=https://www.mangaworld.cc/archive?artist=]")?.text() + manga.author = infoElement.select("a[href^=https://www.mangaworld.io/archive?author=]").first()?.text() + manga.artist = infoElement.select("a[href^=https://www.mangaworld.io/archive?artist=]")?.text() val genres = mutableListOf() metaData.select("div.meta-data a.badge").forEach { element -> @@ -160,7 +160,7 @@ class Mangaworld : ParsedHttpSource() { genres.add(genre) } manga.genre = genres.joinToString(", ") - manga.status = parseStatus(infoElement.select("a[href^=https://www.mangaworld.cc/archive?status=]").first().attr("href")) + manga.status = parseStatus(infoElement.select("a[href^=https://www.mangaworld.io/archive?status=]").first().attr("href")) manga.description = document.select("div#noidungm")?.text() manga.thumbnail_url = document.select(".comic-info .thumb > img").attr("src")