Remove Toonei, website is dead. (#8256)
This commit is contained in:
parent
aaee80b6f9
commit
d1fc545b98
Binary file not shown.
Before Width: | Height: | Size: 3.5 KiB |
Binary file not shown.
Before Width: | Height: | Size: 2.0 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.7 KiB |
Binary file not shown.
Before Width: | Height: | Size: 8.5 KiB |
Binary file not shown.
Before Width: | Height: | Size: 13 KiB |
Binary file not shown.
Before Width: | Height: | Size: 68 KiB |
@ -1,21 +0,0 @@
|
|||||||
package eu.kanade.tachiyomi.extension.pt.toonei
|
|
||||||
|
|
||||||
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
|
||||||
import eu.kanade.tachiyomi.multisrc.mangasproject.MangasProject
|
|
||||||
import okhttp3.OkHttpClient
|
|
||||||
import org.jsoup.nodes.Document
|
|
||||||
import java.util.concurrent.TimeUnit
|
|
||||||
|
|
||||||
class Toonei : MangasProject("Toonei", "https://toonei.net", "pt-BR") {
|
|
||||||
|
|
||||||
override val client: OkHttpClient = super.client.newBuilder()
|
|
||||||
.addInterceptor(RateLimitInterceptor(1, 2, TimeUnit.SECONDS))
|
|
||||||
.build()
|
|
||||||
|
|
||||||
override fun getReaderToken(document: Document): String? {
|
|
||||||
return document.select("script:containsData(window.PAGES_KEY)").firstOrNull()
|
|
||||||
?.data()
|
|
||||||
?.substringAfter("\"")
|
|
||||||
?.substringBefore("\";")
|
|
||||||
}
|
|
||||||
}
|
|
@ -13,8 +13,7 @@ class MangasProjectGenerator : ThemeSourceGenerator {
|
|||||||
|
|
||||||
override val sources = listOf(
|
override val sources = listOf(
|
||||||
SingleLang("Leitor.net", "https://leitor.net", "pt-BR", className = "LeitorNet", isNsfw = true),
|
SingleLang("Leitor.net", "https://leitor.net", "pt-BR", className = "LeitorNet", isNsfw = true),
|
||||||
SingleLang("Mangá Livre", "https://mangalivre.net", "pt-BR", className = "MangaLivre", isNsfw = true),
|
SingleLang("Mangá Livre", "https://mangalivre.net", "pt-BR", className = "MangaLivre", isNsfw = true)
|
||||||
SingleLang("Toonei", "https://toonei.net", "pt-BR", isNsfw = true),
|
|
||||||
)
|
)
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user