parent
55cad2ee8f
commit
c58f4c3449
|
@ -1,7 +1,7 @@
|
||||||
ext {
|
ext {
|
||||||
extName = 'Asura Scans'
|
extName = 'Asura Scans'
|
||||||
extClass = '.AsuraScans'
|
extClass = '.AsuraScans'
|
||||||
extVersionCode = 35
|
extVersionCode = 36
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
|
|
@ -233,7 +233,7 @@ class AsuraScans : ParsedHttpSource(), ConfigurableSource {
|
||||||
|
|
||||||
override fun chapterFromElement(element: Element) = SChapter.create().apply {
|
override fun chapterFromElement(element: Element) = SChapter.create().apply {
|
||||||
setUrlWithoutDomain(element.attr("abs:href").toPermSlugIfNeeded())
|
setUrlWithoutDomain(element.attr("abs:href").toPermSlugIfNeeded())
|
||||||
name = element.selectFirst("h3:eq(0)")!!.ownText()
|
name = element.selectFirst("h3:eq(0)")!!.text()
|
||||||
date_upload = try {
|
date_upload = try {
|
||||||
val text = element.selectFirst("h3:eq(1)")!!.ownText()
|
val text = element.selectFirst("h3:eq(1)")!!.ownText()
|
||||||
val cleanText = text.replace(CLEAN_DATE_REGEX, "$1")
|
val cleanText = text.replace(CLEAN_DATE_REGEX, "$1")
|
||||||
|
|
Loading…
Reference in New Issue