[RU]GroupLe fix pages (#15144)
This commit is contained in:
parent
ff22db6290
commit
6a80b09a08
@ -250,7 +250,11 @@ abstract class GroupLe(
|
|||||||
override fun pageListParse(response: Response): List<Page> {
|
override fun pageListParse(response: Response): List<Page> {
|
||||||
val html = response.body!!.string()
|
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)) {
|
if (!html.contains(readerMark)) {
|
||||||
throw Exception("Для просмотра 18+ контента необходима авторизация через WebView")
|
throw Exception("Для просмотра 18+ контента необходима авторизация через WebView")
|
||||||
|
@ -9,7 +9,7 @@ class GroupLeGenerator : ThemeSourceGenerator {
|
|||||||
|
|
||||||
override val themeClass = "GroupLe"
|
override val themeClass = "GroupLe"
|
||||||
|
|
||||||
override val baseVersionCode: Int = 9
|
override val baseVersionCode: Int = 10
|
||||||
|
|
||||||
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…
x
Reference in New Issue
Block a user