Manga Weebs: Fix Chapter Pages (#18746)
- fix page list selector - add some rate limit Closes #17894 Closes #17952
This commit is contained in:
parent
308d945eb7
commit
3a6ca5f88f
|
@ -1,12 +1,19 @@
|
|||
package eu.kanade.tachiyomi.extension.en.mangaweebs
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||
import okhttp3.OkHttpClient
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
class MangaWeebs : Madara("Manga Weebs", "https://mangaweebs.in", "en", dateFormat = SimpleDateFormat("dd MMMM HH:mm", Locale.US)) {
|
||||
|
||||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
.rateLimit(20, 4, TimeUnit.SECONDS)
|
||||
.build()
|
||||
|
||||
override val mangaDetailsSelectorTag = ""
|
||||
|
||||
override val pageListParseSelector = "div.page-break > div.loading, li.blocks-gallery-item, .reading-content .text-left:not(:has(.blocks-gallery-item)) :has(>img)"
|
||||
override val pageListParseSelector = ".reading-content img:not([src*=\"logo.png\"])"
|
||||
}
|
||||
|
|
|
@ -235,7 +235,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("Manga Starz", "https://mangalike.org", "ar", overrideVersionCode = 4),
|
||||
SingleLang("Manga Too", "https://mangatoo.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("Manga Tx.gg (unoriginal)", "https://mangatx.gg", "en", isNsfw = false, className = "MangaTxGg"),
|
||||
SingleLang("Manga Weebs", "https://mangaweebs.in", "en", overrideVersionCode = 7),
|
||||
SingleLang("Manga Weebs", "https://mangaweebs.in", "en", overrideVersionCode = 8),
|
||||
SingleLang("Manga-1001.com", "https://manga-1001.com", "en", isNsfw = false, className = "MangaDash1001Com"),
|
||||
SingleLang("Manga-fast.com", "https://manga-fast.com", "en", className = "Mangafastcom", overrideVersionCode = 3),
|
||||
SingleLang("Manga-Online.co", "https://www.manga-online.co", "th", className = "MangaOnlineCo"),
|
||||
|
|
Loading…
Reference in New Issue