[RU]MangaBook delete excess parse (from the newsblock) (#7732)

This commit is contained in:
Eugene 2021-06-18 20:42:43 +05:00 committed by GitHub
parent 2e062b2929
commit 757923691a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'MangaBook'
pkgNameSuffix = 'ru.mangabook'
extClass = '.MangaBook'
extVersionCode = 3
extVersionCode = 4
libVersion = '1.2'
}

View File

@ -36,7 +36,7 @@ class MangaBook : ParsedHttpSource() {
override fun popularMangaRequest(page: Int): Request =
GET("$baseUrl/filterList?page=$page&ftype[]=0&status[]=0&sortBy=views", headers)
override fun popularMangaNextPageSelector() = "a.page-link[rel=next]"
override fun popularMangaSelector() = "article.short .short-in"
override fun popularMangaSelector() = "article.short:not(.shnews) .short-in"
override fun popularMangaFromElement(element: Element): SManga {
return SManga.create().apply {
element.select(".sh-desc a").first().let {