Asura fixes (#7168)
* Updated baseURL and added headers Co-Authored-By: Riztard Lanthorn <16263232+Riztard@users.noreply.github.com> * remove headers method Co-authored-by: Riztard Lanthorn <16263232+Riztard@users.noreply.github.com>
This commit is contained in:
parent
9c4b1caee5
commit
09164e14ef
|
@ -5,7 +5,7 @@ import eu.kanade.tachiyomi.multisrc.wpmangastream.WPMangaStream
|
|||
import okhttp3.OkHttpClient
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
class AsuraScans : WPMangaStream("AsuraScans", "https://asurascans.com", "en") {
|
||||
class AsuraScans : WPMangaStream("AsuraScans", "https://www.asurascans.com", "en") {
|
||||
private val rateLimitInterceptor = RateLimitInterceptor(2)
|
||||
|
||||
override val client: OkHttpClient = network.cloudflareClient.newBuilder()
|
||||
|
@ -13,6 +13,6 @@ class AsuraScans : WPMangaStream("AsuraScans", "https://asurascans.com", "en") {
|
|||
.readTimeout(30, TimeUnit.SECONDS)
|
||||
.addNetworkInterceptor(rateLimitInterceptor)
|
||||
.build()
|
||||
|
||||
|
||||
override val pageSelector = "div.rdminimal img[loading*=lazy]"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ class WPMangaStreamGenerator : ThemeSourceGenerator {
|
|||
override val baseVersionCode: Int = 4
|
||||
|
||||
override val sources = listOf(
|
||||
SingleLang("Asura Scans", "https://asurascans.com", "en"),
|
||||
SingleLang("Asura Scans", "override url", "en", overrideVersionCode = 1),
|
||||
SingleLang("KlanKomik", "https://klankomik.com", "id"),
|
||||
SingleLang("ChiOtaku", "https://chiotaku.com", "id"),
|
||||
SingleLang("MangaShiro", "https://mangashiro.co", "id"),
|
||||
|
|
Loading…
Reference in New Issue