From f0402f1f47750aae8ecb64dc28d742a7bc9e2904 Mon Sep 17 00:00:00 2001 From: Vetle Ledaal Date: Sat, 16 Sep 2023 15:38:17 +0000 Subject: [PATCH] Xinmeitulu: skip ads (#17975) --- src/all/xinmeitulu/build.gradle | 2 +- .../eu/kanade/tachiyomi/extension/all/xinmeitulu/Xinmeitulu.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/all/xinmeitulu/build.gradle b/src/all/xinmeitulu/build.gradle index 1f0aac588..39ccf2702 100644 --- a/src/all/xinmeitulu/build.gradle +++ b/src/all/xinmeitulu/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Xinmeitulu' pkgNameSuffix = 'all.xinmeitulu' extClass = '.Xinmeitulu' - extVersionCode = 3 + extVersionCode = 4 isNsfw = true } diff --git a/src/all/xinmeitulu/src/eu/kanade/tachiyomi/extension/all/xinmeitulu/Xinmeitulu.kt b/src/all/xinmeitulu/src/eu/kanade/tachiyomi/extension/all/xinmeitulu/Xinmeitulu.kt index d99a4f2d5..564875487 100644 --- a/src/all/xinmeitulu/src/eu/kanade/tachiyomi/extension/all/xinmeitulu/Xinmeitulu.kt +++ b/src/all/xinmeitulu/src/eu/kanade/tachiyomi/extension/all/xinmeitulu/Xinmeitulu.kt @@ -36,7 +36,7 @@ class Xinmeitulu : ParsedHttpSource() { override fun popularMangaRequest(page: Int) = GET("$baseUrl/page/$page") override fun popularMangaNextPageSelector() = ".next" - override fun popularMangaSelector() = ".container > .row > div" + override fun popularMangaSelector() = ".container > .row > div:has(figure)" override fun popularMangaFromElement(element: Element) = SManga.create().apply { setUrlWithoutDomain(element.select("figure > a").attr("abs:href")) title = element.select("figcaption").text()