[RU]GroupLe rollback variety for allhentai (#273)
* [RU]GroupLe rollback variety for allhentai * clean --------- Co-authored-by: Eshlender <e.shlyapkin99@gmail.com>
This commit is contained in:
parent
5023bde8ef
commit
029932e3d8
|
@ -288,6 +288,11 @@ abstract class GroupLe(
|
||||||
|
|
||||||
var readerMark = "rm_h.readerDoInit(["
|
var readerMark = "rm_h.readerDoInit(["
|
||||||
|
|
||||||
|
// allhentai necessary
|
||||||
|
if (!html.contains(readerMark)) {
|
||||||
|
readerMark = "rm_h.readerInit( 0,["
|
||||||
|
}
|
||||||
|
|
||||||
if (!html.contains(readerMark)) {
|
if (!html.contains(readerMark)) {
|
||||||
if (document.select(".input-lg").isNotEmpty() || (document.select(".user-avatar").isNullOrEmpty() && document.select("img.logo").first()?.attr("title")?.contains("Allhentai") == true)) {
|
if (document.select(".input-lg").isNotEmpty() || (document.select(".user-avatar").isNullOrEmpty() && document.select("img.logo").first()?.attr("title")?.contains("Allhentai") == true)) {
|
||||||
throw Exception("Для просмотра контента необходима авторизация через WebView\uD83C\uDF0E")
|
throw Exception("Для просмотра контента необходима авторизация через WebView\uD83C\uDF0E")
|
||||||
|
|
|
@ -9,7 +9,7 @@ class GroupLeGenerator : ThemeSourceGenerator {
|
||||||
|
|
||||||
override val themeClass = "GroupLe"
|
override val themeClass = "GroupLe"
|
||||||
|
|
||||||
override val baseVersionCode = 21
|
override val baseVersionCode = 22
|
||||||
|
|
||||||
override val sources = listOf(
|
override val sources = listOf(
|
||||||
SingleLang("ReadManga", "https://readmanga.live", "ru", overrideVersionCode = 46),
|
SingleLang("ReadManga", "https://readmanga.live", "ru", overrideVersionCode = 46),
|
||||||
|
|
Loading…
Reference in New Issue