From b1aa65cedcd3b2a75736acfbdaa917d8b496e934 Mon Sep 17 00:00:00 2001 From: Alessandro Jean <14254807+alessandrojean@users.noreply.github.com> Date: Wed, 23 Aug 2023 14:05:55 -0300 Subject: [PATCH] Update MC to their new URL (#17640) Update MC to their new URL. --- .../overrides/mangathemesia/mangaschan/src/MangasChan.kt | 8 ++++---- .../multisrc/mangathemesia/MangaThemesiaGenerator.kt | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/multisrc/overrides/mangathemesia/mangaschan/src/MangasChan.kt b/multisrc/overrides/mangathemesia/mangaschan/src/MangasChan.kt index 69c3cf5b8..9f0dfe835 100644 --- a/multisrc/overrides/mangathemesia/mangaschan/src/MangasChan.kt +++ b/multisrc/overrides/mangathemesia/mangaschan/src/MangasChan.kt @@ -9,7 +9,7 @@ import java.util.concurrent.TimeUnit class MangasChan : MangaThemesia( "Mangás Chan", - "https://mangaschan.com", + "https://mangaschan.net", "pt-BR", dateFormat = SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR")), ) { @@ -20,7 +20,7 @@ class MangasChan : MangaThemesia( override val altNamePrefix = "Nomes alternativos: " - override val seriesArtistSelector = ".infotable tr:contains(Artista) td:last-child" - override val seriesAuthorSelector = ".infotable tr:contains(Autor) td:last-child" - override val seriesTypeSelector = ".infotable tr:contains(Tipo) td:last-child" + override val seriesArtistSelector = ".tsinfo .imptdt:contains(Artista) > i" + override val seriesAuthorSelector = ".tsinfo .imptdt:contains(Autor) > i" + override val seriesTypeSelector = ".tsinfo .imptdt:contains(Tipo) > a" } diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaGenerator.kt index 5444318bd..adc5b6830 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaGenerator.kt @@ -75,7 +75,7 @@ class MangaThemesiaGenerator : ThemeSourceGenerator { SingleLang("Manhwa Lover", "https://manhwalover.com", "en", isNsfw = true, overrideVersionCode = 1), SingleLang("MangaSwat", "https://swatop.club", "ar", overrideVersionCode = 11), SingleLang("MangKomik", "https://mangkomik.net", "id", overrideVersionCode = 1), - SingleLang("Mangás Chan", "https://mangaschan.com", "pt-BR", className = "MangasChan"), + SingleLang("Mangás Chan", "https://mangaschan.net", "pt-BR", className = "MangasChan", overrideVersionCode = 1), SingleLang("Manhwa Freak", "https://manhwafreak.com", "en", overrideVersionCode = 1), SingleLang("ManhwaDesu", "https://manhwadesu.org", "id", isNsfw = true, overrideVersionCode = 3), SingleLang("ManhwaIndo", "https://manhwaindo.id", "id", isNsfw = true, overrideVersionCode = 2),