MCCMS: add Haoman6 back (#15881)
This commit is contained in:
parent
7c9904acdc
commit
b3fce539b1
BIN
multisrc/overrides/mccms/haoman6/res/mipmap-hdpi/ic_launcher.png
Normal file
BIN
multisrc/overrides/mccms/haoman6/res/mipmap-hdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.3 KiB |
BIN
multisrc/overrides/mccms/haoman6/res/mipmap-mdpi/ic_launcher.png
Normal file
BIN
multisrc/overrides/mccms/haoman6/res/mipmap-mdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
Binary file not shown.
After Width: | Height: | Size: 3.1 KiB |
Binary file not shown.
After Width: | Height: | Size: 5.5 KiB |
Binary file not shown.
After Width: | Height: | Size: 7.0 KiB |
BIN
multisrc/overrides/mccms/haoman6/res/web_hi_res_512.png
Normal file
BIN
multisrc/overrides/mccms/haoman6/res/web_hi_res_512.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
18
multisrc/overrides/mccms/haoman6/src/Haoman6.kt
Normal file
18
multisrc/overrides/mccms/haoman6/src/Haoman6.kt
Normal file
@ -0,0 +1,18 @@
|
||||
package eu.kanade.tachiyomi.extension.zh.haoman6
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.mccms.MCCMSWeb
|
||||
import eu.kanade.tachiyomi.network.GET
|
||||
import eu.kanade.tachiyomi.source.model.SChapter
|
||||
import eu.kanade.tachiyomi.source.model.SManga
|
||||
|
||||
class Haoman6 : MCCMSWeb("好漫6", "https://www.haoman6.com") {
|
||||
override fun SManga.cleanup() = apply {
|
||||
description = description?.substringBefore(title)
|
||||
title = title.removeSuffix("(最新在线)").removeSuffix("-")
|
||||
}
|
||||
|
||||
override fun pageListRequest(chapter: SChapter) =
|
||||
GET(baseUrl + chapter.url, headers)
|
||||
|
||||
override val lazyLoadImageAttr = "mob-ec"
|
||||
}
|
@ -8,6 +8,14 @@ class MCCMSGenerator : ThemeSourceGenerator {
|
||||
override val themePkg = "mccms"
|
||||
override val baseVersionCode = 6
|
||||
override val sources = listOf(
|
||||
SingleLang(
|
||||
name = "Haoman6",
|
||||
baseUrl = "https://www.haoman6.com",
|
||||
lang = "zh",
|
||||
className = "Haoman6",
|
||||
sourceName = "好漫6",
|
||||
overrideVersionCode = 3,
|
||||
),
|
||||
SingleLang( // same as: www.haoman6.cc
|
||||
name = "Haoman6 (g-lens)",
|
||||
baseUrl = "https://www.g-lens.com",
|
||||
|
Loading…
x
Reference in New Issue
Block a user