fix(bakamh): fix unable to load chapter (#10152)

This commit is contained in:
marioplus 2025-08-16 21:18:51 +08:00 committed by Draff
parent 28232ab96a
commit 2b41b3f29e
Signed by: Draff
GPG Key ID: E8A89F3211677653
2 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,7 @@ ext {
extClass = '.Bakamh'
themePkg = 'madara'
baseUrl = 'https://bakamh.com'
overrideVersionCode = 1
overrideVersionCode = 2
isNsfw = true
}

View File

@ -13,6 +13,8 @@ class Bakamh : Madara(
) {
override val mangaDetailsSelectorStatus = ".post-content_item:contains(状态) .summary-content"
override fun chapterListSelector() = "li.chapter-promotion"
override fun headersBuilder(): Headers.Builder {
return super.headersBuilder()
.add("Accept-Language", "zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7")