[RU]WayManga delete chapter from title manga (#11035)

This commit is contained in:
e-shl 2022-03-07 18:11:17 +05:00 committed by GitHub
parent e50ade5026
commit 9e00e96b66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'WayManga' extName = 'WayManga'
pkgNameSuffix = 'ru.waymanga' pkgNameSuffix = 'ru.waymanga'
extClass = '.WayManga' extClass = '.WayManga'
extVersionCode = 3 extVersionCode = 4
} }
apply from: "$rootDir/common.gradle" apply from: "$rootDir/common.gradle"

View File

@ -51,10 +51,8 @@ class WayManga : ParsedHttpSource() {
override fun latestUpdatesFromElement(element: Element): SManga { override fun latestUpdatesFromElement(element: Element): SManga {
val manga = SManga.create() val manga = SManga.create()
manga.thumbnail_url = element.select("img").first().attr("src") 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")) manga.setUrlWithoutDomain(it.attr("href"))
}
element.select("div.col-6").first().let {
manga.title = it.text() manga.title = it.text()
} }
return manga return manga