Junmeitu: update URL (#15032)

This commit is contained in:
stevenyomi 2023-01-20 23:13:33 +08:00 committed by GitHub
parent eb7cbf6cb2
commit 3e89b9ceda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ ext {
extName = 'Junmeitu'
pkgNameSuffix = 'all.junmeitu'
extClass = '.Junmeitu'
extVersionCode = 4
extVersionCode = 5
isNsfw = true
}

View File

@ -26,7 +26,7 @@ class Junmeitu : ParsedHttpSource() {
private val json: Json by injectLazy()
// old pref ["MIRROR_all" => arrayOf("https://junmeitu.com", "https://meijuntu.com")]
override val baseUrl = "https://junmeitu.com"
override val baseUrl = "https://meijuntu.com"
// Latest
override fun latestUpdatesFromElement(element: Element): SManga {
@ -87,8 +87,8 @@ class Junmeitu : ParsedHttpSource() {
override fun chapterFromElement(element: Element): SChapter {
val chapter = SChapter.create()
chapter.setUrlWithoutDomain(element.select(".position a:last-child").first().attr("abs:href"))
chapter.chapter_number = 0F
chapter.name = element.select(".news-title,.title").text()
chapter.chapter_number = -2f
chapter.name = "Gallery"
return chapter
}