diff --git a/src/zh/hanmanwuzhe/build.gradle b/src/zh/hanmanwuzhe/build.gradle new file mode 100644 index 00000000000..6291fd6458b --- /dev/null +++ b/src/zh/hanmanwuzhe/build.gradle @@ -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" diff --git a/src/zh/hanmanwuzhe/res/mipmap-hdpi/ic_launcher.png b/src/zh/hanmanwuzhe/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 00000000000..c5a25fe8f4d Binary files /dev/null and b/src/zh/hanmanwuzhe/res/mipmap-hdpi/ic_launcher.png differ diff --git a/src/zh/hanmanwuzhe/res/mipmap-mdpi/ic_launcher.png b/src/zh/hanmanwuzhe/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 00000000000..2988af4d0f6 Binary files /dev/null and b/src/zh/hanmanwuzhe/res/mipmap-mdpi/ic_launcher.png differ diff --git a/src/zh/hanmanwuzhe/res/mipmap-xhdpi/ic_launcher.png b/src/zh/hanmanwuzhe/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 00000000000..3d655bbbd78 Binary files /dev/null and b/src/zh/hanmanwuzhe/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/src/zh/hanmanwuzhe/res/mipmap-xxhdpi/ic_launcher.png b/src/zh/hanmanwuzhe/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 00000000000..a4118520a69 Binary files /dev/null and b/src/zh/hanmanwuzhe/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/src/zh/hanmanwuzhe/res/mipmap-xxxhdpi/ic_launcher.png b/src/zh/hanmanwuzhe/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 00000000000..21176f9b1fe Binary files /dev/null and b/src/zh/hanmanwuzhe/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/src/zh/hanmanwuzhe/src/eu/kanade/tachiyomi/extension/zh/hanmanwuzhe/hanmanwuzhe.kt b/src/zh/hanmanwuzhe/src/eu/kanade/tachiyomi/extension/zh/hanmanwuzhe/hanmanwuzhe.kt new file mode 100644 index 00000000000..2939e56dfdf --- /dev/null +++ b/src/zh/hanmanwuzhe/src/eu/kanade/tachiyomi/extension/zh/hanmanwuzhe/hanmanwuzhe.kt @@ -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 { + val document = response.asJsoup() + return document.select("div.chapterbox li.pic img").mapIndexed { idx, img -> + Page(idx, imageUrl = img.attr("src")) + } + } +}