From 7806e14938dbeefc88ff6910683d62738e797ce6 Mon Sep 17 00:00:00 2001 From: Eshlender <35057681+e-shl@users.noreply.github.com> Date: Mon, 25 Sep 2023 23:55:02 +0500 Subject: [PATCH] [RU]LibGroup LICENSED notify deleted chapters (#18146) --- .../java/eu/kanade/tachiyomi/multisrc/libgroup/LibGenerator.kt | 2 +- .../main/java/eu/kanade/tachiyomi/multisrc/libgroup/LibGroup.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/libgroup/LibGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/libgroup/LibGenerator.kt index b4e98c82a..12bd8523d 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/libgroup/LibGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/libgroup/LibGenerator.kt @@ -9,7 +9,7 @@ class LibGenerator : ThemeSourceGenerator { override val themeClass = "LibGroup" - override val baseVersionCode: Int = 24 + override val baseVersionCode: Int = 25 override val sources = listOf( SingleLang("MangaLib", "https://mangalib.me", "ru", overrideVersionCode = 74), diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/libgroup/LibGroup.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/libgroup/LibGroup.kt index 4d2846f33..a8dfce12c 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/libgroup/LibGroup.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/libgroup/LibGroup.kt @@ -312,7 +312,7 @@ abstract class LibGroup( } val redirect = document.html() if (redirect.contains("paper empty section")) { - return emptyList() + throw Exception("Лицензировано - Нет глав") } val dataStr = document .toString()