From 9e00e96b6688372c4ba82566e59625822e41b59f Mon Sep 17 00:00:00 2001 From: e-shl <35057681+e-shl@users.noreply.github.com> Date: Mon, 7 Mar 2022 18:11:17 +0500 Subject: [PATCH] [RU]WayManga delete chapter from title manga (#11035) --- src/ru/waymanga/build.gradle | 2 +- .../src/eu/kanade/tachiyomi/extension/ru/waymanga/WayManga.kt | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/ru/waymanga/build.gradle b/src/ru/waymanga/build.gradle index 5af6c1909..2b387b396 100644 --- a/src/ru/waymanga/build.gradle +++ b/src/ru/waymanga/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'WayManga' pkgNameSuffix = 'ru.waymanga' extClass = '.WayManga' - extVersionCode = 3 + extVersionCode = 4 } apply from: "$rootDir/common.gradle" diff --git a/src/ru/waymanga/src/eu/kanade/tachiyomi/extension/ru/waymanga/WayManga.kt b/src/ru/waymanga/src/eu/kanade/tachiyomi/extension/ru/waymanga/WayManga.kt index bcceb83ac..b5490678a 100644 --- a/src/ru/waymanga/src/eu/kanade/tachiyomi/extension/ru/waymanga/WayManga.kt +++ b/src/ru/waymanga/src/eu/kanade/tachiyomi/extension/ru/waymanga/WayManga.kt @@ -51,10 +51,8 @@ class WayManga : ParsedHttpSource() { override fun latestUpdatesFromElement(element: Element): SManga { val manga = SManga.create() manga.thumbnail_url = element.select("img").first().attr("src") - element.select("a").first().let { + element.select("div.col-6 a").first().let { manga.setUrlWithoutDomain(it.attr("href")) - } - element.select("div.col-6").first().let { manga.title = it.text() } return manga