Kiryuu: use new url, move factory/multisrc (#7128)
* Kiryuu: use new url, move factory - change to kiryuu.id url - move multisrc from wpmangastream to wpmangareader - fix indent in wpmangareader generator * fix conflict * fix 2
|
@ -0,0 +1,4 @@
|
|||
|
||||
dependencies {
|
||||
implementation project(':lib-ratelimit')
|
||||
}
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 112 KiB After Width: | Height: | Size: 112 KiB |
|
@ -1,13 +1,11 @@
|
|||
package eu.kanade.tachiyomi.extension.id.kiryuu
|
||||
|
||||
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||
import eu.kanade.tachiyomi.multisrc.wpmangastream.WPMangaStream
|
||||
import eu.kanade.tachiyomi.source.model.Page
|
||||
import eu.kanade.tachiyomi.multisrc.wpmangareader.WPMangaReader
|
||||
import okhttp3.OkHttpClient
|
||||
import org.jsoup.nodes.Document
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
class Kiryuu : WPMangaStream("Kiryuu", "https://kiryuu.co", "id") {
|
||||
class Kiryuu : WPMangaReader("Kiryuu", "https://kiryuu.id", "id") {
|
||||
// Formerly "Kiryuu (WP Manga Stream)"
|
||||
override val id = 3639673976007021338
|
||||
|
||||
|
@ -18,10 +16,4 @@ class Kiryuu : WPMangaStream("Kiryuu", "https://kiryuu.co", "id") {
|
|||
.readTimeout(30, TimeUnit.SECONDS)
|
||||
.addNetworkInterceptor(rateLimitInterceptor)
|
||||
.build()
|
||||
|
||||
override fun pageListParse(document: Document): List<Page> {
|
||||
return document.select("div#readerarea img").map { it.attr("abs:src") }
|
||||
.filterNot { it.substringAfterLast("/").contains(Regex("""(filerun|photothumb\.db)""")) }
|
||||
.mapIndexed { i, image -> Page(i, "", image) }
|
||||
}
|
||||
}
|
|
@ -13,25 +13,26 @@ class WPMangaReaderGenerator : ThemeSourceGenerator {
|
|||
|
||||
override val sources = listOf(
|
||||
|
||||
SingleLang("KomikMama", "https://komikmama.net", "id"),
|
||||
SingleLang("MangaKita", "https://mangakita.net", "id"),
|
||||
SingleLang("Ngomik", "https://ngomik.net", "id"),
|
||||
SingleLang("Sekaikomik", "https://www.sekaikomik.fun", "id", isNsfw = true, overrideVersionCode = 4),
|
||||
SingleLang("Davey Scans", "https://daveyscans.com/", "id"),
|
||||
SingleLang("Mangasusu", "https://mangasusu.co.in", "id", isNsfw = true),
|
||||
SingleLang("TurkToon", "https://turktoon.com", "tr"),
|
||||
SingleLang("Gecenin Lordu", "https://geceninlordu.com/", "tr", overrideVersionCode = 1),
|
||||
SingleLang("Flame Scans", "https://flamescans.org", "en", overrideVersionCode = 2),
|
||||
SingleLang("A Pair of 2+", "https://pairof2.com", "en", className = "APairOf2"),
|
||||
SingleLang("PMScans", "https://reader.pmscans.com", "en"),
|
||||
SingleLang("Skull Scans", "https://www.skullscans.com", "en"),
|
||||
SingleLang("Luminous Scans", "https://www.luminousscans.com", "en"),
|
||||
SingleLang("Azure Scans", "https://azuremanga.com", "en"),
|
||||
SingleLang("Seafoam Scans", "https://seafoamscans.com", "en"),
|
||||
SingleLang("GS Nation", "https://gs-nation.fr", "fr", overrideVersionCode = 1),
|
||||
SingleLang("YugenMangas", "https://yugenmangas.com", "es"),
|
||||
SingleLang("DragonTranslation", "https://dragontranslation.com", "es", isNsfw = true)
|
||||
)
|
||||
SingleLang("Kiryuu", "https://kiryuu.id", "id"),
|
||||
SingleLang("KomikMama", "https://komikmama.net", "id"),
|
||||
SingleLang("MangaKita", "https://mangakita.net", "id"),
|
||||
SingleLang("Ngomik", "https://ngomik.net", "id"),
|
||||
SingleLang("Sekaikomik", "https://www.sekaikomik.fun", "id", isNsfw = true, overrideVersionCode = 4),
|
||||
SingleLang("Davey Scans", "https://daveyscans.com/", "id"),
|
||||
SingleLang("Mangasusu", "https://mangasusu.co.in", "id", isNsfw = true),
|
||||
SingleLang("TurkToon", "https://turktoon.com", "tr"),
|
||||
SingleLang("Gecenin Lordu", "https://geceninlordu.com/", "tr", overrideVersionCode = 1),
|
||||
SingleLang("Flame Scans", "https://flamescans.org", "en", overrideVersionCode = 2),
|
||||
SingleLang("A Pair of 2+", "https://pairof2.com", "en", className = "APairOf2"),
|
||||
SingleLang("PMScans", "https://reader.pmscans.com", "en"),
|
||||
SingleLang("Skull Scans", "https://www.skullscans.com", "en"),
|
||||
SingleLang("Luminous Scans", "https://www.luminousscans.com", "en"),
|
||||
SingleLang("Azure Scans", "https://azuremanga.com", "en"),
|
||||
SingleLang("Seafoam Scans", "https://seafoamscans.com", "en"),
|
||||
SingleLang("GS Nation", "https://gs-nation.fr", "fr", overrideVersionCode = 1),
|
||||
SingleLang("YugenMangas", "https://yugenmangas.com", "es"),
|
||||
SingleLang("DragonTranslation", "https://dragontranslation.com", "es", isNsfw = true)
|
||||
)
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
|
|
|
@ -33,7 +33,6 @@ class WPMangaStreamGenerator : ThemeSourceGenerator {
|
|||
SingleLang("KomikRu", "https://komikru.com", "id"),
|
||||
SingleLang("GURU Komik", "https://gurukomik.com", "id"),
|
||||
SingleLang("Shea Manga", "https://sheamanga.my.id", "id"),
|
||||
SingleLang("Kiryuu", "https://kiryuu.co", "id"),
|
||||
SingleLang("Komik AV", "https://komikav.com", "id"),
|
||||
SingleLang("Komik Cast", "https://komikcast.com", "id", overrideVersionCode = 3), // make it from v0 to v3 to force update user who still use old standalone ext, they will need to migrate
|
||||
SingleLang("West Manga", "https://westmanga.info", "id"),
|
||||
|
|