Manhastro: Fix manga status and add icon (#2066)
* Fix manga status * Use 'contains' selector Co-authored-by: Vetle Ledaal <vetle.ledaal@gmail.com> * Add icons --------- Co-authored-by: Vetle Ledaal <vetle.ledaal@gmail.com>
This commit is contained in:
parent
02d7019b46
commit
d2fec71228
|
@ -3,7 +3,7 @@ ext {
|
|||
extClass = '.Manhastro'
|
||||
themePkg = 'madara'
|
||||
baseUrl = 'https://manhastro.com'
|
||||
overrideVersionCode = 2
|
||||
overrideVersionCode = 3
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 7.0 KiB |
Binary file not shown.
After Width: | Height: | Size: 3.6 KiB |
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
Binary file not shown.
After Width: | Height: | Size: 37 KiB |
|
@ -26,6 +26,8 @@ class Manhastro : Madara(
|
|||
|
||||
override val mangaDetailsSelectorTitle = "div.summary_content h2"
|
||||
|
||||
override val mangaDetailsSelectorStatus = "div.summary-heading:contains(Status) + div.summary-content"
|
||||
|
||||
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