Manhastro - Fix nullpointer when manga title is set (#1442)
Fix nullpointer when manga title is set
This commit is contained in:
parent
e5d3eeb7cc
commit
2e25acbc36
|
@ -3,7 +3,7 @@ ext {
|
|||
extClass = '.Manhastro'
|
||||
themePkg = 'madara'
|
||||
baseUrl = 'https://manhastro.com'
|
||||
overrideVersionCode = 1
|
||||
overrideVersionCode = 2
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -24,6 +24,8 @@ class Manhastro : Madara(
|
|||
|
||||
override val useNewChapterEndpoint = true
|
||||
|
||||
override val mangaDetailsSelectorTitle = "div.summary_content h2"
|
||||
|
||||
override fun pageListParse(document: Document): List<Page> {
|
||||
return document.selectFirst("script:containsData(imageLinks)")?.data()
|
||||
?.let { imageLinksPattern.find(it)?.groups?.get(1)?.value }
|
||||
|
|
Loading…
Reference in New Issue