diff --git a/src/zh/tohomh123/build.gradle b/src/zh/tohomh123/build.gradle index d5e48d33f..bca0bc156 100644 --- a/src/zh/tohomh123/build.gradle +++ b/src/zh/tohomh123/build.gradle @@ -5,7 +5,7 @@ ext { appName = 'Tachiyomi: Tohomh123' pkgNameSuffix = 'zh.tohomh123' extClass = '.Tohomh' - extVersionCode = 1 + extVersionCode = 2 libVersion = '1.2' } diff --git a/src/zh/tohomh123/src/eu/kanade/tachiyomi/extension/zh/tohomh123/Tohomh.kt b/src/zh/tohomh123/src/eu/kanade/tachiyomi/extension/zh/tohomh123/Tohomh.kt index aaf39649d..2175169b1 100644 --- a/src/zh/tohomh123/src/eu/kanade/tachiyomi/extension/zh/tohomh123/Tohomh.kt +++ b/src/zh/tohomh123/src/eu/kanade/tachiyomi/extension/zh/tohomh123/Tohomh.kt @@ -131,7 +131,7 @@ class Tohomh : ParsedHttpSource() { override fun pageListParse(document: Document): List { val pages = mutableListOf() - val script = document.select("script:containsData(did)").first().data() + val script = document.select("script:containsData(imgDomain)").first().data() val did = script.substringAfter("did=").substringBefore(";") val sid = script.substringAfter("sid=").substringBefore(";") val lastPage = script.substringAfter("pcount =").substringBefore(";").trim().toInt()