Add YD-Comics (#4551)

This commit is contained in:
Vetle Ledaal 2024-08-10 14:55:51 +02:00 committed by Draff
parent 89dbb360d3
commit 9ee1be41b8
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
7 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,10 @@
ext {
extName = 'YD-Comics'
extClass = '.YDComics'
themePkg = 'mangathemesia'
baseUrl = 'https://yd-comics.com'
overrideVersionCode = 0
isNsfw = false
}
apply from: "$rootDir/common.gradle"

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

View File

@ -0,0 +1,20 @@
package eu.kanade.tachiyomi.extension.en.ydcomics
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
import eu.kanade.tachiyomi.source.model.FilterList
import okhttp3.Request
class YDComics : MangaThemesia(
"YD-Comics",
"https://yd-comics.com",
"en",
mangaUrlDirectory = "/index.php/series",
) {
override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request {
return super.searchMangaRequest(page, query, filters).let {
it.newBuilder()
.url(it.url.newBuilder().encodedPath("$mangaUrlDirectory/").build())
.build()
}
}
}