Add Yakshascans (#1661)
* Add Yakshascans * Update extension and source name, fix class name --------- Co-authored-by: stevenyomi <95685115+stevenyomi@users.noreply.github.com>
This commit is contained in:
parent
bb0317bef3
commit
2725ac93f6
10
src/en/yakshascans/build.gradle
Normal file
10
src/en/yakshascans/build.gradle
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
ext {
|
||||||
|
extName = 'YakshaScans'
|
||||||
|
extClass = '.YakshaScans'
|
||||||
|
themePkg = 'madara'
|
||||||
|
baseUrl = 'https://yakshascans.com'
|
||||||
|
overrideVersionCode = 0
|
||||||
|
isNsfw = true
|
||||||
|
}
|
||||||
|
|
||||||
|
apply from: "$rootDir/common.gradle"
|
BIN
src/en/yakshascans/res/mipmap-hdpi/ic_launcher.png
Normal file
BIN
src/en/yakshascans/res/mipmap-hdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.3 KiB |
BIN
src/en/yakshascans/res/mipmap-mdpi/ic_launcher.png
Normal file
BIN
src/en/yakshascans/res/mipmap-mdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
BIN
src/en/yakshascans/res/mipmap-xhdpi/ic_launcher.png
Normal file
BIN
src/en/yakshascans/res/mipmap-xhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.0 KiB |
BIN
src/en/yakshascans/res/mipmap-xxhdpi/ic_launcher.png
Normal file
BIN
src/en/yakshascans/res/mipmap-xxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.0 KiB |
BIN
src/en/yakshascans/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
BIN
src/en/yakshascans/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.5 KiB |
@ -0,0 +1,21 @@
|
|||||||
|
package eu.kanade.tachiyomi.extension.en.yakshascans
|
||||||
|
|
||||||
|
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||||
|
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||||
|
import okhttp3.OkHttpClient
|
||||||
|
|
||||||
|
class YakshaScans : Madara(
|
||||||
|
"YakshaScans",
|
||||||
|
"https://yakshascans.com",
|
||||||
|
"en",
|
||||||
|
) {
|
||||||
|
|
||||||
|
override val client: OkHttpClient = super.client.newBuilder()
|
||||||
|
.rateLimit(1)
|
||||||
|
.build()
|
||||||
|
|
||||||
|
override val useNewChapterEndpoint = true
|
||||||
|
|
||||||
|
override val mangaDetailsSelectorDescription: String =
|
||||||
|
"div.description-summary div.summary__content h3 + p, div.description-summary div.summary__content:not(:has(h3)), div.summary_content div.post-content_item > h5 + div, div.summary_content div.manga-excerpt"
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user