parent
057070f05b
commit
8d5dc2d380
@ -5,7 +5,7 @@ ext {
|
|||||||
extName = 'WP MangaStream (multiple sources)'
|
extName = 'WP MangaStream (multiple sources)'
|
||||||
pkgNameSuffix = 'all.wpmangastream'
|
pkgNameSuffix = 'all.wpmangastream'
|
||||||
extClass = '.WPMangaStreamFactory'
|
extClass = '.WPMangaStreamFactory'
|
||||||
extVersionCode = 44
|
extVersionCode = 45
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -164,11 +164,11 @@ abstract class WPMangaStream(
|
|||||||
|
|
||||||
override fun mangaDetailsParse(document: Document): SManga {
|
override fun mangaDetailsParse(document: Document): SManga {
|
||||||
return SManga.create().apply {
|
return SManga.create().apply {
|
||||||
document.select("div.bigcontent, div.animefull").firstOrNull()?.let { infoElement ->
|
document.select("div.bigcontent, div.animefull, div.main-info").firstOrNull()?.let { infoElement ->
|
||||||
genre = infoElement.select("span:contains(Genres:) a, .mgen a").joinToString { it.text() }
|
genre = infoElement.select("span:contains(Genres:) a, .mgen a").joinToString { it.text() }
|
||||||
status = parseStatus(infoElement.select("span:contains(Status:), .imptdt:contains(Status) i").firstOrNull()?.ownText())
|
status = parseStatus(infoElement.select("span:contains(Status:), .imptdt:contains(Status) i").firstOrNull()?.ownText())
|
||||||
author = infoElement.select("span:contains(Author:), .fmed b:contains(Author)+span").firstOrNull()?.ownText()
|
author = infoElement.select("span:contains(Author:), .fmed b:contains(Author)+span, .imptdt:contains(Author) i").firstOrNull()?.ownText()
|
||||||
artist = infoElement.select(".fmed b:contains(Artist)+span").firstOrNull()?.ownText()
|
artist = infoElement.select(".fmed b:contains(Artist)+span, .imptdt:contains(Artist) i").firstOrNull()?.ownText()
|
||||||
description = infoElement.select("div.desc p, div.entry-content p").joinToString("\n") { it.text() }
|
description = infoElement.select("div.desc p, div.entry-content p").joinToString("\n") { it.text() }
|
||||||
thumbnail_url = infoElement.select("div.thumb img").imgAttr()
|
thumbnail_url = infoElement.select("div.thumb img").imgAttr()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user