[RU]GroupLe fix chapterListSelector (#16721)

* [RU]GroupLe fix chapterListSelector

* current domain

* https
This commit is contained in:
Eshlender 2023-06-13 00:00:31 +05:00 committed by GitHub
parent 7a2e2a62ff
commit 3757d99ac9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -13,7 +13,7 @@ import okhttp3.Request
import uy.kohesive.injekt.Injekt
import uy.kohesive.injekt.api.get
class AllHentai : GroupLe("AllHentai", "http://allhen.online", "ru") {
class AllHentai : GroupLe("AllHentai", "https://2023.allhen.online", "ru") {
override val id: Long = 1809051393403180443
@ -292,6 +292,6 @@ class AllHentai : GroupLe("AllHentai", "http://allhen.online", "ru") {
companion object {
private const val DOMAIN_TITLE = "Домен"
private const val DOMAIN_DEFAULT = "http://allhen.online"
private const val DOMAIN_DEFAULT = "https://2023.allhen.online"
}
}

View File

@ -205,7 +205,7 @@ abstract class GroupLe(
}
override fun chapterListSelector() =
"div.chapters-link > table > tbody > tr:has(td > a):has(td.date:not(.text-info))"
"div.chapters table tr:has(td > a):has(td.date:not(.text-info))"
private fun chapterFromElement(element: Element, manga: SManga): SChapter {
val urlElement = element.select("a.chapter-link").first()!!

View File

@ -9,12 +9,12 @@ class GroupLeGenerator : ThemeSourceGenerator {
override val themeClass = "GroupLe"
override val baseVersionCode = 13
override val baseVersionCode = 14
override val sources = listOf(
SingleLang("ReadManga", "https://readmanga.live", "ru", overrideVersionCode = 46),
SingleLang("MintManga", "https://mintmanga.live", "ru", overrideVersionCode = 46),
SingleLang("AllHentai", "http://allhen.online", "ru", isNsfw = true, overrideVersionCode = 22),
SingleLang("AllHentai", "https://2023.allhen.online", "ru", isNsfw = true, overrideVersionCode = 22),
SingleLang("SelfManga", "https://selfmanga.live", "ru", overrideVersionCode = 22),
SingleLang("RuMIX", "https://rumix.me", "ru", overrideVersionCode = 1),
)