From c8a8f7d99bb3ab0710d8b9d4c63a97d1f61ee093 Mon Sep 17 00:00:00 2001
From: Pavka
Date: Wed, 6 Jan 2021 00:20:49 +0300
Subject: [PATCH] [Ru]Mangahub. Update page list selector name (#5325)
Co-authored-by: pavkazzz
---
src/ru/mangahub/build.gradle | 2 +-
.../src/eu/kanade/tachiyomi/extension/ru/mangahub/Mangahub.kt | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/ru/mangahub/build.gradle b/src/ru/mangahub/build.gradle
index 78306c4a2..39b03b97b 100644
--- a/src/ru/mangahub/build.gradle
+++ b/src/ru/mangahub/build.gradle
@@ -5,7 +5,7 @@ ext {
extName = 'Mangahub'
pkgNameSuffix = 'ru.mangahub'
extClass = '.Mangahub'
- extVersionCode = 8
+ extVersionCode = 9
libVersion = '1.2'
}
diff --git a/src/ru/mangahub/src/eu/kanade/tachiyomi/extension/ru/mangahub/Mangahub.kt b/src/ru/mangahub/src/eu/kanade/tachiyomi/extension/ru/mangahub/Mangahub.kt
index 8fa5a5b2b..a0a14ed35 100644
--- a/src/ru/mangahub/src/eu/kanade/tachiyomi/extension/ru/mangahub/Mangahub.kt
+++ b/src/ru/mangahub/src/eu/kanade/tachiyomi/extension/ru/mangahub/Mangahub.kt
@@ -114,7 +114,7 @@ open class Mangahub : ParsedHttpSource() {
}
override fun pageListParse(document: Document): List {
- val chapInfo = document.select("reader").attr("data-reader-store").replace(""", "\"").replace("\\/", "/")
+ val chapInfo = document.select("reader").attr("data-store").replace(""", "\"").replace("\\/", "/")
val chapter = jsonParser.parse(chapInfo).asJsonObject
val scans = chapter["scans"].asJsonArray