parent
4e956063e1
commit
bd5f8aeb5f
|
@ -5,7 +5,7 @@ ext {
|
||||||
extName = 'MangaFast'
|
extName = 'MangaFast'
|
||||||
pkgNameSuffix = 'en.mangafast'
|
pkgNameSuffix = 'en.mangafast'
|
||||||
extClass = '.MangaFast'
|
extClass = '.MangaFast'
|
||||||
extVersionCode = 7
|
extVersionCode = 8
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -69,6 +69,7 @@ class MangaFast : ParsedHttpSource() {
|
||||||
articleInfo.select("table.inftable tbody tr").forEach {
|
articleInfo.select("table.inftable tbody tr").forEach {
|
||||||
val row = it.select("td")
|
val row = it.select("td")
|
||||||
when (row[0].text()) {
|
when (row[0].text()) {
|
||||||
|
"Comic Title" -> manga.title = row[1].text().trim()
|
||||||
"Genre" -> manga.genre = row[1].text().trim().removeSuffix(",")
|
"Genre" -> manga.genre = row[1].text().trim().removeSuffix(",")
|
||||||
"Author" -> manga.author = row[1].text().trim()
|
"Author" -> manga.author = row[1].text().trim()
|
||||||
"Status" -> manga.status = parseStatus(row[1].text())
|
"Status" -> manga.status = parseStatus(row[1].text())
|
||||||
|
@ -85,7 +86,7 @@ class MangaFast : ParsedHttpSource() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// chapter list
|
// chapter list
|
||||||
override fun chapterListSelector() = ".chapter-link"
|
override fun chapterListSelector() = ".chapter-link:not([title=\"Spoiler Manga\"])"
|
||||||
|
|
||||||
override fun chapterFromElement(element: Element) = SChapter.create().apply {
|
override fun chapterFromElement(element: Element) = SChapter.create().apply {
|
||||||
setUrlWithoutDomain(element.attr("href"))
|
setUrlWithoutDomain(element.attr("href"))
|
||||||
|
|
Loading…
Reference in New Issue