-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add hanmanwuzhe source * changed filter from CheckBox to Select * Switched to MCCMS Multisrc * Apply suggestions from code review --------- Co-authored-by: AwkwardPeak7 <[email protected]>
- Loading branch information
1 parent
d2eb61f
commit adc6d00
Showing
7 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions
22
src/zh/hanmanwuzhe/src/eu/kanade/tachiyomi/extension/zh/hanmanwuzhe/hanmanwuzhe.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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")) | ||
} | ||
} | ||
} |