[RU]LibGroup LICENSED notify deleted chapters (#18146)

This commit is contained in:
Eshlender 2023-09-25 23:55:02 +05:00 committed by GitHub
parent 076cc105de
commit 7806e14938
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ class LibGenerator : ThemeSourceGenerator {
override val themeClass = "LibGroup" override val themeClass = "LibGroup"
override val baseVersionCode: Int = 24 override val baseVersionCode: Int = 25
override val sources = listOf( override val sources = listOf(
SingleLang("MangaLib", "https://mangalib.me", "ru", overrideVersionCode = 74), SingleLang("MangaLib", "https://mangalib.me", "ru", overrideVersionCode = 74),

View File

@ -312,7 +312,7 @@ abstract class LibGroup(
} }
val redirect = document.html() val redirect = document.html()
if (redirect.contains("paper empty section")) { if (redirect.contains("paper empty section")) {
return emptyList() throw Exception("Лицензировано - Нет глав")
} }
val dataStr = document val dataStr = document
.toString() .toString()