[RU]GroupLe fix pages (#15144)

This commit is contained in:
Eshlender 2023-01-28 01:06:41 +05:00 committed by GitHub
parent ff22db6290
commit 6a80b09a08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -250,7 +250,11 @@ abstract class GroupLe(
override fun pageListParse(response: Response): List<Page> {
val html = response.body!!.string()
val readerMark = "rm_h.initReader( ["
var readerMark = "rm_h.initReader( ["
if (!html.contains(readerMark)) {
readerMark = "rm_h.readerInit( 0,["
}
if (!html.contains(readerMark)) {
throw Exception("Для просмотра 18+ контента необходима авторизация через WebView")

View File

@ -9,7 +9,7 @@ class GroupLeGenerator : ThemeSourceGenerator {
override val themeClass = "GroupLe"
override val baseVersionCode: Int = 9
override val baseVersionCode: Int = 10
override val sources = listOf(
SingleLang("ReadManga", "https://readmanga.live", "ru", overrideVersionCode = 46),