Junmeitu: update URL (#15032)
This commit is contained in:
parent
eb7cbf6cb2
commit
3e89b9ceda
|
@ -6,7 +6,7 @@ ext {
|
||||||
extName = 'Junmeitu'
|
extName = 'Junmeitu'
|
||||||
pkgNameSuffix = 'all.junmeitu'
|
pkgNameSuffix = 'all.junmeitu'
|
||||||
extClass = '.Junmeitu'
|
extClass = '.Junmeitu'
|
||||||
extVersionCode = 4
|
extVersionCode = 5
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ class Junmeitu : ParsedHttpSource() {
|
||||||
private val json: Json by injectLazy()
|
private val json: Json by injectLazy()
|
||||||
|
|
||||||
// old pref ["MIRROR_all" => arrayOf("https://junmeitu.com", "https://meijuntu.com")]
|
// old pref ["MIRROR_all" => arrayOf("https://junmeitu.com", "https://meijuntu.com")]
|
||||||
override val baseUrl = "https://junmeitu.com"
|
override val baseUrl = "https://meijuntu.com"
|
||||||
|
|
||||||
// Latest
|
// Latest
|
||||||
override fun latestUpdatesFromElement(element: Element): SManga {
|
override fun latestUpdatesFromElement(element: Element): SManga {
|
||||||
|
@ -87,8 +87,8 @@ class Junmeitu : ParsedHttpSource() {
|
||||||
override fun chapterFromElement(element: Element): SChapter {
|
override fun chapterFromElement(element: Element): SChapter {
|
||||||
val chapter = SChapter.create()
|
val chapter = SChapter.create()
|
||||||
chapter.setUrlWithoutDomain(element.select(".position a:last-child").first().attr("abs:href"))
|
chapter.setUrlWithoutDomain(element.select(".position a:last-child").first().attr("abs:href"))
|
||||||
chapter.chapter_number = 0F
|
chapter.chapter_number = -2f
|
||||||
chapter.name = element.select(".news-title,.title").text()
|
chapter.name = "Gallery"
|
||||||
return chapter
|
return chapter
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue