mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-25 11:42:47 +01:00
[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
b6c12090cd
commit
1ae392fa7d
@ -288,6 +288,11 @@ abstract class GroupLe(
|
||||
|
||||
var readerMark = "rm_h.readerDoInit(["
|
||||
|
||||
// allhentai necessary
|
||||
if (!html.contains(readerMark)) {
|
||||
readerMark = "rm_h.readerInit( 0,["
|
||||
}
|
||||
|
||||
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)) {
|
||||
throw Exception("Для просмотра контента необходима авторизация через WebView\uD83C\uDF0E")
|
||||
|
@ -9,7 +9,7 @@ class GroupLeGenerator : ThemeSourceGenerator {
|
||||
|
||||
override val themeClass = "GroupLe"
|
||||
|
||||
override val baseVersionCode = 21
|
||||
override val baseVersionCode = 22
|
||||
|
||||
override val sources = listOf(
|
||||
SingleLang("ReadManga", "https://readmanga.live", "ru", overrideVersionCode = 46),
|
||||
|
Loading…
Reference in New Issue
Block a user