Add hanmanwuzhe source (#5099)
* Add hanmanwuzhe source * changed filter from CheckBox to Select * Switched to MCCMS Multisrc * Apply suggestions from code review --------- Co-authored-by: AwkwardPeak7 <48650614+AwkwardPeak7@users.noreply.github.com>
This commit is contained in:
parent
76532be103
commit
fefd4b85c3
10
src/zh/hanmanwuzhe/build.gradle
Normal file
10
src/zh/hanmanwuzhe/build.gradle
Normal file
@ -0,0 +1,10 @@
|
||||
ext {
|
||||
extName = 'hanmanwuzhe'
|
||||
extClass = '.hanmanwuzhe'
|
||||
themePkg = 'mccms'
|
||||
baseUrl = 'https://www.hanmanwuzhe.com'
|
||||
overrideVersionCode = 1
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
BIN
src/zh/hanmanwuzhe/res/mipmap-hdpi/ic_launcher.png
Normal file
BIN
src/zh/hanmanwuzhe/res/mipmap-hdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.3 KiB |
BIN
src/zh/hanmanwuzhe/res/mipmap-mdpi/ic_launcher.png
Normal file
BIN
src/zh/hanmanwuzhe/res/mipmap-mdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.2 KiB |
BIN
src/zh/hanmanwuzhe/res/mipmap-xhdpi/ic_launcher.png
Normal file
BIN
src/zh/hanmanwuzhe/res/mipmap-xhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.2 KiB |
BIN
src/zh/hanmanwuzhe/res/mipmap-xxhdpi/ic_launcher.png
Normal file
BIN
src/zh/hanmanwuzhe/res/mipmap-xxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
BIN
src/zh/hanmanwuzhe/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
BIN
src/zh/hanmanwuzhe/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
@ -0,0 +1,22 @@
|
||||
package eu.kanade.tachiyomi.extension.zh.hanmanwuzhe
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.mccms.MCCMS
|
||||
import eu.kanade.tachiyomi.multisrc.mccms.MCCMSConfig
|
||||
import eu.kanade.tachiyomi.source.model.Page
|
||||
import eu.kanade.tachiyomi.util.asJsoup
|
||||
import okhttp3.Response
|
||||
|
||||
class hanmanwuzhe : MCCMS(
|
||||
"嘀嗒漫画",
|
||||
"https://www.hanmanwuzhe.com",
|
||||
"zh",
|
||||
MCCMSConfig(useMobilePageList = true),
|
||||
) {
|
||||
|
||||
override fun pageListParse(response: Response): List<Page> {
|
||||
val document = response.asJsoup()
|
||||
return document.select("div.chapterbox li.pic img").mapIndexed { idx, img ->
|
||||
Page(idx, imageUrl = img.attr("src"))
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user