diff --git a/src/ru/waymanga/build.gradle b/src/ru/waymanga/build.gradle index bfb38d7e1..a292e8901 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 = 1 + extVersionCode = 2 } 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 26f56b5d1..08454d22b 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 @@ -32,15 +32,15 @@ class WayManga : ParsedHttpSource() { return GET("$baseUrl/search?query=$query") } - override fun popularMangaSelector() = "div.p-2" + override fun popularMangaSelector() = "div.position-relative > a" override fun latestUpdatesSelector() = "div.row" - override fun searchMangaSelector() = "div.col-12 > div" + override fun searchMangaSelector() = "div.col-9 > a" override fun popularMangaFromElement(element: Element): SManga { val manga = SManga.create() - manga.thumbnail_url = element.select("img").first().attr("src") + manga.thumbnail_url = element.select("div.card-150 > img").first().attr("src") element.select("a").first().let { manga.setUrlWithoutDomain(it.attr("href")) manga.title = it.text() @@ -91,7 +91,7 @@ class WayManga : ParsedHttpSource() { chapter.name = it.text() } chapter.setUrlWithoutDomain(urlElement.attr("href")) - chapter.date_upload = element.select("div.col-4").text().toDate() + chapter.date_upload = element.select("div.col-5:eq(1)").text().toDate() return chapter }