Manga 18x: increase timeout (#6524)

This commit is contained in:
Vetle Ledaal 2024-12-08 16:00:53 +01:00 committed by Draff
parent e11aafbd0f
commit b23bd214ff
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 6 additions and 1 deletions

View File

@ -3,7 +3,7 @@ ext {
extClass = '.Manga18x'
themePkg = 'madara'
baseUrl = 'https://manga18x.net'
overrideVersionCode = 0
overrideVersionCode = 1
isNsfw = true
}

View File

@ -1,7 +1,12 @@
package eu.kanade.tachiyomi.extension.en.manga18x
import eu.kanade.tachiyomi.multisrc.madara.Madara
import java.util.concurrent.TimeUnit
class Manga18x : Madara("Manga 18x", "https://manga18x.net", "en") {
override val client = super.client.newBuilder()
.readTimeout(2, TimeUnit.MINUTES)
.build()
override val useNewChapterEndpoint = true
}