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
|
package eu.kanade.tachiyomi.extension.id.kiryuu
|
||||||
|
|
||||||
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
|
||||||
import eu.kanade.tachiyomi.multisrc.wpmangastream.WPMangaStream
|
import eu.kanade.tachiyomi.multisrc.wpmangareader.WPMangaReader
|
||||||
import eu.kanade.tachiyomi.source.model.Page
|
|
||||||
import okhttp3.OkHttpClient
|
import okhttp3.OkHttpClient
|
||||||
import org.jsoup.nodes.Document
|
|
||||||
import java.util.concurrent.TimeUnit
|
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)"
|
// Formerly "Kiryuu (WP Manga Stream)"
|
||||||
override val id = 3639673976007021338
|
override val id = 3639673976007021338
|
||||||
|
|
||||||
|
@ -18,10 +16,4 @@ class Kiryuu : WPMangaStream("Kiryuu", "https://kiryuu.co", "id") {
|
||||||
.readTimeout(30, TimeUnit.SECONDS)
|
.readTimeout(30, TimeUnit.SECONDS)
|
||||||
.addNetworkInterceptor(rateLimitInterceptor)
|
.addNetworkInterceptor(rateLimitInterceptor)
|
||||||
.build()
|
.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(
|
override val sources = listOf(
|
||||||
|
|
||||||
SingleLang("KomikMama", "https://komikmama.net", "id"),
|
SingleLang("Kiryuu", "https://kiryuu.id", "id"),
|
||||||
SingleLang("MangaKita", "https://mangakita.net", "id"),
|
SingleLang("KomikMama", "https://komikmama.net", "id"),
|
||||||
SingleLang("Ngomik", "https://ngomik.net", "id"),
|
SingleLang("MangaKita", "https://mangakita.net", "id"),
|
||||||
SingleLang("Sekaikomik", "https://www.sekaikomik.fun", "id", isNsfw = true, overrideVersionCode = 4),
|
SingleLang("Ngomik", "https://ngomik.net", "id"),
|
||||||
SingleLang("Davey Scans", "https://daveyscans.com/", "id"),
|
SingleLang("Sekaikomik", "https://www.sekaikomik.fun", "id", isNsfw = true, overrideVersionCode = 4),
|
||||||
SingleLang("Mangasusu", "https://mangasusu.co.in", "id", isNsfw = true),
|
SingleLang("Davey Scans", "https://daveyscans.com/", "id"),
|
||||||
SingleLang("TurkToon", "https://turktoon.com", "tr"),
|
SingleLang("Mangasusu", "https://mangasusu.co.in", "id", isNsfw = true),
|
||||||
SingleLang("Gecenin Lordu", "https://geceninlordu.com/", "tr", overrideVersionCode = 1),
|
SingleLang("TurkToon", "https://turktoon.com", "tr"),
|
||||||
SingleLang("Flame Scans", "https://flamescans.org", "en", overrideVersionCode = 2),
|
SingleLang("Gecenin Lordu", "https://geceninlordu.com/", "tr", overrideVersionCode = 1),
|
||||||
SingleLang("A Pair of 2+", "https://pairof2.com", "en", className = "APairOf2"),
|
SingleLang("Flame Scans", "https://flamescans.org", "en", overrideVersionCode = 2),
|
||||||
SingleLang("PMScans", "https://reader.pmscans.com", "en"),
|
SingleLang("A Pair of 2+", "https://pairof2.com", "en", className = "APairOf2"),
|
||||||
SingleLang("Skull Scans", "https://www.skullscans.com", "en"),
|
SingleLang("PMScans", "https://reader.pmscans.com", "en"),
|
||||||
SingleLang("Luminous Scans", "https://www.luminousscans.com", "en"),
|
SingleLang("Skull Scans", "https://www.skullscans.com", "en"),
|
||||||
SingleLang("Azure Scans", "https://azuremanga.com", "en"),
|
SingleLang("Luminous Scans", "https://www.luminousscans.com", "en"),
|
||||||
SingleLang("Seafoam Scans", "https://seafoamscans.com", "en"),
|
SingleLang("Azure Scans", "https://azuremanga.com", "en"),
|
||||||
SingleLang("GS Nation", "https://gs-nation.fr", "fr", overrideVersionCode = 1),
|
SingleLang("Seafoam Scans", "https://seafoamscans.com", "en"),
|
||||||
SingleLang("YugenMangas", "https://yugenmangas.com", "es"),
|
SingleLang("GS Nation", "https://gs-nation.fr", "fr", overrideVersionCode = 1),
|
||||||
SingleLang("DragonTranslation", "https://dragontranslation.com", "es", isNsfw = true)
|
SingleLang("YugenMangas", "https://yugenmangas.com", "es"),
|
||||||
)
|
SingleLang("DragonTranslation", "https://dragontranslation.com", "es", isNsfw = true)
|
||||||
|
)
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
|
|
|
@ -33,7 +33,6 @@ class WPMangaStreamGenerator : ThemeSourceGenerator {
|
||||||
SingleLang("KomikRu", "https://komikru.com", "id"),
|
SingleLang("KomikRu", "https://komikru.com", "id"),
|
||||||
SingleLang("GURU Komik", "https://gurukomik.com", "id"),
|
SingleLang("GURU Komik", "https://gurukomik.com", "id"),
|
||||||
SingleLang("Shea Manga", "https://sheamanga.my.id", "id"),
|
SingleLang("Shea Manga", "https://sheamanga.my.id", "id"),
|
||||||
SingleLang("Kiryuu", "https://kiryuu.co", "id"),
|
|
||||||
SingleLang("Komik AV", "https://komikav.com", "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("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"),
|
SingleLang("West Manga", "https://westmanga.info", "id"),
|
||||||
|
|