Manga 18x: increase timeout (#6524)
This commit is contained in:
parent
e11aafbd0f
commit
b23bd214ff
|
@ -3,7 +3,7 @@ ext {
|
||||||
extClass = '.Manga18x'
|
extClass = '.Manga18x'
|
||||||
themePkg = 'madara'
|
themePkg = 'madara'
|
||||||
baseUrl = 'https://manga18x.net'
|
baseUrl = 'https://manga18x.net'
|
||||||
overrideVersionCode = 0
|
overrideVersionCode = 1
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,12 @@
|
||||||
package eu.kanade.tachiyomi.extension.en.manga18x
|
package eu.kanade.tachiyomi.extension.en.manga18x
|
||||||
|
|
||||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||||
|
import java.util.concurrent.TimeUnit
|
||||||
|
|
||||||
class Manga18x : Madara("Manga 18x", "https://manga18x.net", "en") {
|
class Manga18x : Madara("Manga 18x", "https://manga18x.net", "en") {
|
||||||
|
override val client = super.client.newBuilder()
|
||||||
|
.readTimeout(2, TimeUnit.MINUTES)
|
||||||
|
.build()
|
||||||
|
|
||||||
override val useNewChapterEndpoint = true
|
override val useNewChapterEndpoint = true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue