[ConstellarScans] fix page list (#15161)

* [ConstellarScans] fix page list

* override version 10 yay

* remove logging
This commit is contained in:
beerpsi 2023-01-29 02:26:07 +07:00 committed by GitHub
parent 24e5d03a62
commit a0b7256c71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 7 deletions

View File

@ -91,15 +91,14 @@ class ConstellarScans : MangaThemesia("Constellar Scans", "https://constellarsca
document.body().prepend( document.body().prepend(
""" """
|<script> |<script>
| var ts_reader = { | window.ts_reader = new Proxy({}, {
| run: function (data) { | get(target, prop, receiver) {
| window.$interfaceName.passData(JSON.stringify(data)) | return (param) => window.$interfaceName.passData(JSON.stringify(param))
| }
| } | }
| })
|</script> |</script>
""".trimMargin() """.trimMargin()
) )
val handler = Handler(Looper.getMainLooper()) val handler = Handler(Looper.getMainLooper())
val latch = CountDownLatch(1) val latch = CountDownLatch(1)
val jsinterface = JsObject(latch) val jsinterface = JsObject(latch)

View File

@ -25,7 +25,7 @@ class MangaThemesiaGenerator : ThemeSourceGenerator {
SingleLang("Azure Scans", "https://azuremanga.com", "en", overrideVersionCode = 1), SingleLang("Azure Scans", "https://azuremanga.com", "en", overrideVersionCode = 1),
SingleLang("Boosei", "https://boosei.net", "id", overrideVersionCode = 2), SingleLang("Boosei", "https://boosei.net", "id", overrideVersionCode = 2),
SingleLang("Clayrer", "https://clayrer.net", "es"), SingleLang("Clayrer", "https://clayrer.net", "es"),
SingleLang("Constellar Scans", "https://constellarscans.com", "en", isNsfw = true, overrideVersionCode = 9), SingleLang("Constellar Scans", "https://constellarscans.com", "en", isNsfw = true, overrideVersionCode = 10),
SingleLang("Cosmic Scans", "https://cosmicscans.com", "en", overrideVersionCode = 1), SingleLang("Cosmic Scans", "https://cosmicscans.com", "en", overrideVersionCode = 1),
SingleLang("Diskus Scan", "https://diskusscan.com", "pt-BR", overrideVersionCode = 7), SingleLang("Diskus Scan", "https://diskusscan.com", "pt-BR", overrideVersionCode = 7),
SingleLang("Dojing.net", "https://dojing.net", "id", isNsfw = true, className = "DojingNet"), SingleLang("Dojing.net", "https://dojing.net", "id", isNsfw = true, className = "DojingNet"),