YuraManga: exclude alternating broken images (#6233)
* YuraManga: fix page selector * set locale for date format * bump version, set nsfw
This commit is contained in:
parent
348c373bc0
commit
1e09043247
|
@ -3,7 +3,8 @@ ext {
|
||||||
extClass = '.YuraManga'
|
extClass = '.YuraManga'
|
||||||
themePkg = 'zmanga'
|
themePkg = 'zmanga'
|
||||||
baseUrl = 'https://www.yuramanga.my.id'
|
baseUrl = 'https://www.yuramanga.my.id'
|
||||||
overrideVersionCode = 37
|
overrideVersionCode = 38
|
||||||
|
isNsfw = false
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
|
|
@ -1,14 +1,17 @@
|
||||||
package eu.kanade.tachiyomi.extension.id.yuramanga
|
package eu.kanade.tachiyomi.extension.id.yuramanga
|
||||||
|
|
||||||
import eu.kanade.tachiyomi.multisrc.zmanga.ZManga
|
import eu.kanade.tachiyomi.multisrc.zmanga.ZManga
|
||||||
|
import eu.kanade.tachiyomi.source.model.Page
|
||||||
|
import org.jsoup.nodes.Document
|
||||||
import java.io.IOException
|
import java.io.IOException
|
||||||
import java.text.SimpleDateFormat
|
import java.text.SimpleDateFormat
|
||||||
|
import java.util.Locale
|
||||||
|
|
||||||
class YuraManga : ZManga(
|
class YuraManga : ZManga(
|
||||||
"YuraManga",
|
"YuraManga",
|
||||||
"https://www.yuramanga.my.id",
|
"https://www.yuramanga.my.id",
|
||||||
"id",
|
"id",
|
||||||
SimpleDateFormat("dd/MM/yyyy"),
|
SimpleDateFormat("dd/MM/yyyy", Locale.ROOT),
|
||||||
) {
|
) {
|
||||||
// Moved from Madara to ZManga
|
// Moved from Madara to ZManga
|
||||||
override val versionId = 3
|
override val versionId = 3
|
||||||
|
@ -22,4 +25,10 @@ class YuraManga : ZManga(
|
||||||
response
|
response
|
||||||
}
|
}
|
||||||
.build()
|
.build()
|
||||||
|
|
||||||
|
override fun pageListParse(document: Document): List<Page> {
|
||||||
|
return document.select("div.reader-area img.lazyload").mapIndexed { i, img ->
|
||||||
|
Page(i, "", img.attr("abs:data-src"))
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue