Add YD-Comics (#4551)
This commit is contained in:
parent
89dbb360d3
commit
9ee1be41b8
10
src/en/ydcomics/build.gradle
Normal file
10
src/en/ydcomics/build.gradle
Normal 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"
|
BIN
src/en/ydcomics/res/mipmap-hdpi/ic_launcher.png
Normal file
BIN
src/en/ydcomics/res/mipmap-hdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.6 KiB |
BIN
src/en/ydcomics/res/mipmap-mdpi/ic_launcher.png
Normal file
BIN
src/en/ydcomics/res/mipmap-mdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.8 KiB |
BIN
src/en/ydcomics/res/mipmap-xhdpi/ic_launcher.png
Normal file
BIN
src/en/ydcomics/res/mipmap-xhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
BIN
src/en/ydcomics/res/mipmap-xxhdpi/ic_launcher.png
Normal file
BIN
src/en/ydcomics/res/mipmap-xxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
BIN
src/en/ydcomics/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
BIN
src/en/ydcomics/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 45 KiB |
@ -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()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user