Foolslide - remove HelveticaScans, ShoujoSense, ShoujoHearts (#1653)
This commit is contained in:
parent
c09e401b67
commit
4b55071ea2
|
@ -2,10 +2,10 @@ apply plugin: 'com.android.application'
|
||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
appName = 'Tachiyomi: FoolSlide'
|
appName = 'Tachiyomi: FoolSlide (multiple sources)'
|
||||||
pkgNameSuffix = 'all.foolslide'
|
pkgNameSuffix = 'all.foolslide'
|
||||||
extClass = '.FoolSlideFactory'
|
extClass = '.FoolSlideFactory'
|
||||||
extVersionCode = 27
|
extVersionCode = 28
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,6 @@ import eu.kanade.tachiyomi.source.model.Page
|
||||||
import eu.kanade.tachiyomi.source.model.SManga
|
import eu.kanade.tachiyomi.source.model.SManga
|
||||||
import okhttp3.Request
|
import okhttp3.Request
|
||||||
import org.jsoup.nodes.Document
|
import org.jsoup.nodes.Document
|
||||||
import org.jsoup.nodes.Element
|
|
||||||
|
|
||||||
class FoolSlideFactory : SourceFactory {
|
class FoolSlideFactory : SourceFactory {
|
||||||
override fun createSources(): List<Source> = getAllFoolSlide()
|
override fun createSources(): List<Source> = getAllFoolSlide()
|
||||||
|
@ -19,7 +18,6 @@ class FoolSlideFactory : SourceFactory {
|
||||||
fun getAllFoolSlide(): List<Source> {
|
fun getAllFoolSlide(): List<Source> {
|
||||||
return listOf(
|
return listOf(
|
||||||
JaminisBox(),
|
JaminisBox(),
|
||||||
HelveticaScans(),
|
|
||||||
SenseScans(),
|
SenseScans(),
|
||||||
KireiCake(),
|
KireiCake(),
|
||||||
SilentSky(),
|
SilentSky(),
|
||||||
|
@ -42,9 +40,7 @@ fun getAllFoolSlide(): List<Source> {
|
||||||
AkaiYuhiMunTeam(),
|
AkaiYuhiMunTeam(),
|
||||||
LupiTeam(),
|
LupiTeam(),
|
||||||
HentaiCafe(),
|
HentaiCafe(),
|
||||||
ShoujoSense(),
|
|
||||||
TheCatScans(),
|
TheCatScans(),
|
||||||
ShoujoHearts(),
|
|
||||||
ZandynoFansub()
|
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 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 SenseScans : FoolSlide("Sense-Scans", "http://sensescans.com", "en", "/reader")
|
||||||
|
|
||||||
class KireiCake : FoolSlide("Kirei Cake", "https://reader.kireicake.com", "en")
|
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 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") {
|
class LupiTeam : FoolSlide("LupiTeam", "https://lupiteam.net", "it", "/reader") {
|
||||||
override fun mangaDetailsParse(document: Document): SManga {
|
override fun mangaDetailsParse(document: Document): SManga {
|
||||||
val infoElement = document.select(mangaDetailsInfoSelector).first().text()
|
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")
|
class ZandynoFansub : FoolSlide("Zandy no Fansub", "http://zandynofansub.aishiteru.org", "en", "/reader")
|
||||||
|
|
Loading…
Reference in New Issue