mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-22 10:22:47 +01:00
parent
a424bf6607
commit
df45384c73
@ -2,8 +2,8 @@ ext {
|
||||
extName = 'Komikindo'
|
||||
extClass = '.Komikindo'
|
||||
themePkg = 'mangathemesia'
|
||||
baseUrl = 'https://komikindo.sbs'
|
||||
overrideVersionCode = 0
|
||||
baseUrl = 'https://komikindo.icu'
|
||||
overrideVersionCode = 1
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
@ -8,7 +8,7 @@ import org.jsoup.nodes.Document
|
||||
|
||||
class Komikindo : MangaThemesia(
|
||||
"Komikindo",
|
||||
"https://komikindo.sbs",
|
||||
"https://komikindo.icu",
|
||||
"id",
|
||||
) {
|
||||
// Some covers fail to load with no Accept header + no resize parameter.
|
||||
|
@ -1,7 +1,7 @@
|
||||
ext {
|
||||
extName = 'XXManhwa'
|
||||
extClass = '.XxManhwa'
|
||||
extVersionCode = 2
|
||||
extVersionCode = 3
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
@ -31,7 +31,7 @@ class XxManhwa : ParsedHttpSource(), ConfigurableSource {
|
||||
|
||||
override val lang = "vi"
|
||||
|
||||
override val baseUrl = "https://xxmanhwas.net"
|
||||
override val baseUrl = "https://xxmanhwa.top"
|
||||
|
||||
override val supportsLatest = false
|
||||
|
||||
@ -147,13 +147,17 @@ class XxManhwa : ParsedHttpSource(), ConfigurableSource {
|
||||
}
|
||||
}
|
||||
|
||||
document.selectFirst("form[method=post] > input[type=hidden]")?.let { csrf ->
|
||||
add(csrf.attr("name"), csrf.attr("value"))
|
||||
}
|
||||
|
||||
add("iid", "_0_$iid")
|
||||
add("ipoi", "1")
|
||||
add("sid", chapterId)
|
||||
add("cid", mangaId)
|
||||
add("expiry", expiry)
|
||||
add("token", token)
|
||||
add("src", src)
|
||||
add("src", "/${src.substringAfterLast("/")}")
|
||||
|
||||
val ebeCaptchaKey = html.substringAfter("action_ebe_captcha('").substringBefore("')")
|
||||
val ebeCaptchaRequest = POST(
|
||||
@ -175,7 +179,7 @@ class XxManhwa : ParsedHttpSource(), ConfigurableSource {
|
||||
val basePageUrl = "https://${resp.media}/${resp.src.substringBeforeLast("/")}/"
|
||||
|
||||
return document.select("div.cur p[data-src]").mapIndexed { i, it ->
|
||||
Page(i, imageUrl = basePageUrl + it.attr("data-src"))
|
||||
Page(i, imageUrl = basePageUrl + it.attr("data-src").substringAfterLast("/"))
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user