diff --git a/multisrc/overrides/madara/mangaweebs/src/MangaWeebs.kt b/multisrc/overrides/madara/mangaweebs/src/MangaWeebs.kt index 2ae07b048..c49ee8620 100644 --- a/multisrc/overrides/madara/mangaweebs/src/MangaWeebs.kt +++ b/multisrc/overrides/madara/mangaweebs/src/MangaWeebs.kt @@ -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\"])" } diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt index 4f66291f0..9027c3260 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt @@ -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"),