New source add (#16863)

* Adding a new source

* Adding dependencies

* useNewChapterEndpoint
This commit is contained in:
Ruliam dos Santos de Oliveira 2023-06-25 15:33:55 -03:00 committed by GitHub
parent 89433cd894
commit 5fa2a9ef1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 22 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

View File

@ -0,0 +1,21 @@
package eu.kanade.tachiyomi.extension.pt.noindexscan
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.network.interceptor.rateLimit
import okhttp3.OkHttpClient
import java.text.SimpleDateFormat
import java.util.Locale
import java.util.concurrent.TimeUnit
class NoIndexScan : Madara(
"No Index Scan",
"https://noindexscan.com",
"pt-BR",
SimpleDateFormat("dd 'de' MMMMM 'de' yyyy", Locale("pt", "BR")),
) {
override val client: OkHttpClient = super.client.newBuilder()
.rateLimit(1, 2, TimeUnit.SECONDS)
.build()
override val useNewChapterEndpoint = true
}

View File

@ -325,6 +325,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Niji Translations", "https://niji-translations.com", "ar", overrideVersionCode = 1),
SingleLang("Ninja Scan", "https://ninjascan.xyz", "pt-BR", overrideVersionCode = 1),
SingleLang("Nitro Scans", "https://nitroscans.com", "en"),
SingleLang("No Index Scan", "https://noindexscan.com", "pt-BR", isNsfw = true),
SingleLang("Noblesse Translations", "https://www.noblessetranslations.com", "es"),
SingleLang("NovelCrow", "https://novelcrow.com", "en", isNsfw = true),
SingleLang("NovelMic", "https://novelmic.com", "en", overrideVersionCode = 1),