* fix45ca32d
fixes a mistake (I made) in45ca32d
by not using __.toRegex()__ * bump version
This commit is contained in:
parent
b4bf96a0f0
commit
57a03a182e
|
@ -5,7 +5,7 @@ ext {
|
||||||
appName = 'Tachiyomi: MangaBox (Mangakakalot and others)'
|
appName = 'Tachiyomi: MangaBox (Mangakakalot and others)'
|
||||||
pkgNameSuffix = 'all.mangabox'
|
pkgNameSuffix = 'all.mangabox'
|
||||||
extClass = '.MangaBoxFactory'
|
extClass = '.MangaBoxFactory'
|
||||||
extVersionCode = 9
|
extVersionCode = 10
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -126,7 +126,10 @@ abstract class MangaBox (
|
||||||
infoElement.select("td:containsOwn(genres) + td a").joinToString { it.text() }
|
infoElement.select("td:containsOwn(genres) + td a").joinToString { it.text() }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
description = document.select(descriptionSelector)?.first()?.ownText()?.replace("\\<br\\>", "\n")?.replace("\\<.*?\\>", "")?.replace("^$title summary\\:", "")
|
description = document.select(descriptionSelector)?.first()?.ownText()
|
||||||
|
?.replace("""^$title summary:\s""".toRegex(), "")
|
||||||
|
?.replace("""<\s*br\s*\/?>""".toRegex(), "\n")
|
||||||
|
?.replace("<[^>]*>".toRegex(), "")
|
||||||
thumbnail_url = document.select(thumbnailSelector).attr("abs:src")
|
thumbnail_url = document.select(thumbnailSelector).attr("abs:src")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue