Add SSReading (#6108)

This commit is contained in:
Chopper 2024-11-18 10:34:24 -03:00 committed by Draff
parent e875e266c5
commit 3f74c33e2c
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
7 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,10 @@
ext {
extName = 'SS Reading'
extClass = '.SSReading'
themePkg = 'madara'
baseUrl = 'https://ssreading.com.br'
overrideVersionCode = 0
isNsfw = true
}
apply from: "$rootDir/common.gradle"

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,27 @@
package eu.kanade.tachiyomi.extension.pt.ssreading
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.network.interceptor.rateLimit
import eu.kanade.tachiyomi.source.model.SChapter
import okhttp3.Response
import java.text.SimpleDateFormat
import java.util.Locale
class SSReading : Madara(
"SS Reading",
"https://ssreading.com.br",
"pt-BR",
SimpleDateFormat("dd 'de' MMM 'de' yyyy", Locale("pt", "BR")),
) {
override val client = super.client.newBuilder()
.rateLimit(3)
.build()
override val useNewChapterEndpoint = true
override val popularMangaUrlSelector = "${super.popularMangaUrlSelector}:not([href*=discord])"
override fun chapterListParse(response: Response): List<SChapter> {
return super.chapterListParse(response).reversed()
}
}