From 4b55071ea279dd47892f3dee515e40074da26d51 Mon Sep 17 00:00:00 2001 From: Mike <51273546+SnakeDoc83@users.noreply.github.com> Date: Tue, 15 Oct 2019 18:14:58 -0400 Subject: [PATCH] Foolslide - remove HelveticaScans, ShoujoSense, ShoujoHearts (#1653) --- src/all/foolslide/build.gradle | 4 ++-- .../all/foolslide/FoolSlideFactory.kt | 23 ------------------- 2 files changed, 2 insertions(+), 25 deletions(-) diff --git a/src/all/foolslide/build.gradle b/src/all/foolslide/build.gradle index 4ad4ff60c..4f708a168 100644 --- a/src/all/foolslide/build.gradle +++ b/src/all/foolslide/build.gradle @@ -2,10 +2,10 @@ apply plugin: 'com.android.application' apply plugin: 'kotlin-android' ext { - appName = 'Tachiyomi: FoolSlide' + appName = 'Tachiyomi: FoolSlide (multiple sources)' pkgNameSuffix = 'all.foolslide' extClass = '.FoolSlideFactory' - extVersionCode = 27 + extVersionCode = 28 libVersion = '1.2' } 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 9424d6104..6fb100608 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 @@ -10,7 +10,6 @@ import eu.kanade.tachiyomi.source.model.Page import eu.kanade.tachiyomi.source.model.SManga import okhttp3.Request import org.jsoup.nodes.Document -import org.jsoup.nodes.Element class FoolSlideFactory : SourceFactory { override fun createSources(): List = getAllFoolSlide() @@ -19,7 +18,6 @@ class FoolSlideFactory : SourceFactory { fun getAllFoolSlide(): List { return listOf( JaminisBox(), - HelveticaScans(), SenseScans(), KireiCake(), SilentSky(), @@ -42,9 +40,7 @@ fun getAllFoolSlide(): List { AkaiYuhiMunTeam(), LupiTeam(), HentaiCafe(), - ShoujoSense(), TheCatScans(), - ShoujoHearts(), ZandynoFansub() ) } @@ -69,8 +65,6 @@ class JaminisBox : FoolSlide("Jaimini's Box", "https://jaiminisbox.com", "en", " class TheCatScans : FoolSlide("The Cat Scans", "https://reader2.thecatscans.com/", "en") -class HelveticaScans : FoolSlide("Helvetica Scans", "https://helveticascans.com", "en", "/r") - class SenseScans : FoolSlide("Sense-Scans", "http://sensescans.com", "en", "/reader") class KireiCake : FoolSlide("Kirei Cake", "https://reader.kireicake.com", "en") @@ -119,8 +113,6 @@ class EvilFlowers : FoolSlide("Evil Flowers", "http://reader.evilflowers.com", " class AkaiYuhiMunTeam : FoolSlide("AkaiYuhiMun team", "https://akaiyuhimun.ru", "ru", "/manga") -class ShoujoSense : FoolSlide("ShoujoSense", "http://reader.shoujosense.com", "en") - class LupiTeam : FoolSlide("LupiTeam", "https://lupiteam.net", "it", "/reader") { override fun mangaDetailsParse(document: Document): SManga { val infoElement = document.select(mangaDetailsInfoSelector).first().text() @@ -143,19 +135,4 @@ class LupiTeam : FoolSlide("LupiTeam", "https://lupiteam.net", "it", "/reader") } -class ShoujoHearts : FoolSlide("ShoujoHearts", "http://shoujohearts.com", "en", "/reader") { - override fun popularMangaFromElement(element: Element): SManga { - val manga = SManga.create() - - element.select("a[title]").first().let { - manga.setUrlWithoutDomain(it.attr("href")) - manga.title = it.text() - } - element.select("img").first()?.let { - manga.thumbnail_url = it.absUrl("src") - } - return manga - } -} - class ZandynoFansub : FoolSlide("Zandy no Fansub", "http://zandynofansub.aishiteru.org", "en", "/reader")