Remove AlliedFansub (#5067)
This commit is contained in:
parent
fdcadcd5a1
commit
e74443b530
|
@ -1,10 +0,0 @@
|
||||||
ext {
|
|
||||||
extName = 'Allied Fansub'
|
|
||||||
extClass = '.AlliedFansub'
|
|
||||||
themePkg = 'madara'
|
|
||||||
baseUrl = 'https://alliedfansub.net'
|
|
||||||
overrideVersionCode = 0
|
|
||||||
isNsfw = true
|
|
||||||
}
|
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
|
Binary file not shown.
Before Width: | Height: | Size: 8.7 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 14 KiB |
Binary file not shown.
Before Width: | Height: | Size: 30 KiB |
Binary file not shown.
Before Width: | Height: | Size: 50 KiB |
|
@ -1,29 +0,0 @@
|
||||||
package eu.kanade.tachiyomi.extension.tr.alliedfansub
|
|
||||||
|
|
||||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
|
||||||
import eu.kanade.tachiyomi.source.model.Page
|
|
||||||
import org.jsoup.nodes.Document
|
|
||||||
import java.text.SimpleDateFormat
|
|
||||||
import java.util.Locale
|
|
||||||
|
|
||||||
class AlliedFansub : Madara(
|
|
||||||
"Allied Fansub",
|
|
||||||
"https://alliedfansub.net",
|
|
||||||
"tr",
|
|
||||||
dateFormat = SimpleDateFormat("dd/MM/yyyy", Locale.ROOT),
|
|
||||||
) {
|
|
||||||
override val useLoadMoreRequest = LoadMoreStrategy.Always
|
|
||||||
override val useNewChapterEndpoint = true
|
|
||||||
|
|
||||||
override fun pageListParse(document: Document): List<Page> {
|
|
||||||
val pageList = super.pageListParse(document)
|
|
||||||
|
|
||||||
if (
|
|
||||||
pageList.isEmpty() &&
|
|
||||||
document.select(".content-blocked, .login-required").isNotEmpty()
|
|
||||||
) {
|
|
||||||
throw Exception("Okumak için WebView üzerinden giriş yapın")
|
|
||||||
}
|
|
||||||
return pageList
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue