Add ManhwaClub.net, Remove ManhwaClub (#3013)

* Add ManhwaClub.net

* Remove ManhwaClub
This commit is contained in:
Vetle Ledaal 2024-05-15 01:43:14 +00:00 committed by Draff
parent 34beb05922
commit 78847a26e6
15 changed files with 45 additions and 20 deletions

View File

@ -0,0 +1,10 @@
ext {
extName = 'ManhwaClub.net'
extClass = '.ManhwaClubNetFactory'
themePkg = 'madara'
baseUrl = 'https://manhwaclub.net'
overrideVersionCode = 0
isNsfw = true
}
apply from: "$rootDir/common.gradle"

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

View File

@ -0,0 +1,24 @@
package eu.kanade.tachiyomi.extension.all.manhwaclubnet
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.source.model.SChapter
import okhttp3.Response
class ManhwaClubNet(lang: String) : Madara(
"ManhwaClub.net",
"https://manhwaclub.net",
lang,
) {
override val useLoadMoreRequest = LoadMoreStrategy.Never
override val useNewChapterEndpoint = false
override fun chapterListParse(response: Response): List<SChapter> {
val chapters = super.chapterListParse(response)
return when (lang) {
"en" -> chapters.filterNot { it.name.endsWith(" raw") }
"ko" -> chapters.filter { it.name.endsWith(" raw") }
else -> emptyList()
}
}
}

View File

@ -0,0 +1,11 @@
package eu.kanade.tachiyomi.extension.all.manhwaclubnet
import eu.kanade.tachiyomi.source.SourceFactory
class ManhwaClubNetFactory : SourceFactory {
// Font for icon: Cooper BT Std Black Headline
override fun createSources() = listOf(
ManhwaClubNet("en"),
ManhwaClubNet("ko"),
)
}

View File

@ -1,10 +0,0 @@
ext {
extName = 'ManhwaClub'
extClass = '.ManhwaClub'
themePkg = 'hentaihand'
baseUrl = 'https://manhwa.club'
overrideVersionCode = 3
isNsfw = true
}
apply from: "$rootDir/common.gradle"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

View File

@ -1,10 +0,0 @@
package eu.kanade.tachiyomi.extension.en.manhwaclub
import eu.kanade.tachiyomi.multisrc.hentaihand.HentaiHand
import okhttp3.OkHttpClient
class ManhwaClub : HentaiHand("ManhwaClub", "https://manhwa.club", "en", true) {
override val client: OkHttpClient = network.cloudflareClient.newBuilder()
.addInterceptor { authIntercept(it) }
.build()
}