From be8db0dc7bd70a9fa5e239b25de3f429f67e19d6 Mon Sep 17 00:00:00 2001 From: Riztard Lanthorn Date: Tue, 26 Jan 2021 19:53:17 +0700 Subject: [PATCH] Foolslide phoenixscans (#5562) change url add manga details for italian ignore case sensitive for regex --- src/all/foolslide/build.gradle | 2 +- .../eu/kanade/tachiyomi/extension/all/foolslide/FoolSlide.kt | 4 ++-- .../tachiyomi/extension/all/foolslide/FoolSlideFactory.kt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/all/foolslide/build.gradle b/src/all/foolslide/build.gradle index f8a44f183..a677f4897 100644 --- a/src/all/foolslide/build.gradle +++ b/src/all/foolslide/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'FoolSlide (multiple sources)' pkgNameSuffix = 'all.foolslide' extClass = '.FoolSlideFactory' - extVersionCode = 57 + extVersionCode = 58 libVersion = '1.2' containsNsfw = true } diff --git a/src/all/foolslide/src/eu/kanade/tachiyomi/extension/all/foolslide/FoolSlide.kt b/src/all/foolslide/src/eu/kanade/tachiyomi/extension/all/foolslide/FoolSlide.kt index 545cad0e9..7c6a26351 100644 --- a/src/all/foolslide/src/eu/kanade/tachiyomi/extension/all/foolslide/FoolSlide.kt +++ b/src/all/foolslide/src/eu/kanade/tachiyomi/extension/all/foolslide/FoolSlide.kt @@ -124,9 +124,9 @@ abstract class FoolSlide( override fun mangaDetailsParse(document: Document): SManga { return SManga.create().apply { document.select(mangaDetailsInfoSelector).firstOrNull()?.html()?.let { infoHtml -> - author = Regex("""Author:\s?([^\n<]*)[\n<]""").find(infoHtml)?.groupValues?.get(1) + author = Regex("""(?i)(Author|Autore):\s?([^\n<]*)[\n<]""").find(infoHtml)?.groupValues?.get(2) artist = Regex("""Artist:\s?([^\n<]*)[\n<]""").find(infoHtml)?.groupValues?.get(1) - description = Regex("""(Synopsis|Description):\s?([^\n<]*)[\n<]""").find(infoHtml)?.groupValues?.get(2) + description = Regex("""(?i)(Synopsis|Description|Trama):\s?([^\n<]*)[\n<]""").find(infoHtml)?.groupValues?.get(2) } thumbnail_url = getDetailsThumbnail(document) } diff --git a/src/all/foolslide/src/eu/kanade/tachiyomi/extension/all/foolslide/FoolSlideFactory.kt b/src/all/foolslide/src/eu/kanade/tachiyomi/extension/all/foolslide/FoolSlideFactory.kt index b3887d674..ffc5713fc 100644 --- a/src/all/foolslide/src/eu/kanade/tachiyomi/extension/all/foolslide/FoolSlideFactory.kt +++ b/src/all/foolslide/src/eu/kanade/tachiyomi/extension/all/foolslide/FoolSlideFactory.kt @@ -186,7 +186,7 @@ class HNIScantradEN : FoolSlide("HNI-Scantrad", "https://hni-scantrad.com", "en" } } -class PhoenixScans : FoolSlide("The Phoenix Scans", "https://www.phantomreader.com", "it", "/reader") +class PhoenixScans : FoolSlide("The Phoenix Scans", "https://www.phoenixscans.com", "it", "/reader") class GTO : FoolSlide("GTO The Great Site", "https://www.gtothegreatsite.net", "it", "/reader")