Add NSFW Override (#7798)

This commit is contained in:
Narin 2021-06-21 10:20:31 -07:00 committed by GitHub
parent 030a972da0
commit f7b2294a50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 23 additions and 6 deletions

View File

@ -0,0 +1,7 @@
package eu.kanade.tachiyomi.extension.es.dragontranslation
import eu.kanade.tachiyomi.multisrc.wpmangareader.WPMangaReader
import eu.kanade.tachiyomi.annotations.Nsfw
@Nsfw
class DragonTranslation : WPMangaReader("DragonTranslation", "https://dragontranslation.com", "es")

View File

@ -0,0 +1,7 @@
package eu.kanade.tachiyomi.extension.fr.patatescans
import eu.kanade.tachiyomi.multisrc.wpmangareader.WPMangaReader
import eu.kanade.tachiyomi.annotations.Nsfw
@Nsfw
class Patatescans : WPMangaReader("Patatescans", "https://patatescans.com", "fr")

View File

@ -1,8 +1,9 @@
package eu.kanade.tachiyomi.extension.id.sekaikomik
import eu.kanade.tachiyomi.multisrc.wpmangareader.WPMangaReader
import eu.kanade.tachiyomi.annotations.Nsfw
import java.text.SimpleDateFormat
import java.util.Locale
@Nsfw
class Sekaikomik : WPMangaReader("Sekaikomik", "https://www.sekaikomik.xyz", "id", dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale("id")))

View File

@ -2,11 +2,13 @@ package eu.kanade.tachiyomi.extension.id.sektedoujin
import eu.kanade.tachiyomi.multisrc.wpmangastream.WPMangaStream
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
import eu.kanade.tachiyomi.annotations.Nsfw
import java.util.concurrent.TimeUnit
import okhttp3.OkHttpClient
import java.text.SimpleDateFormat
import java.util.Locale
@Nsfw
class SekteDoujin : WPMangaStream("Sekte Doujin", "https://sektedoujin.xyz", "id", SimpleDateFormat("MMMM dd, yyyy", Locale.forLanguageTag("id"))) {
private val rateLimitInterceptor = RateLimitInterceptor(4)

View File

@ -17,7 +17,7 @@ class WPMangaReaderGenerator : ThemeSourceGenerator {
SingleLang("MangaKita", "https://mangakita.net", "id", overrideVersionCode = 1),
SingleLang("Martial Manga", "https://martialmanga.com/", "es"),
SingleLang("Ngomik", "https://ngomik.net", "id", overrideVersionCode = 1),
SingleLang("Sekaikomik", "https://www.sekaikomik.xyz", "id", isNsfw = true, overrideVersionCode = 5),
SingleLang("Sekaikomik", "https://www.sekaikomik.xyz", "id", isNsfw = true, overrideVersionCode = 6),
SingleLang("Davey Scans", "https://daveyscans.com/", "id"),
SingleLang("Mangasusu", "https://mangasusu.co.in", "id", isNsfw = true),
SingleLang("TurkToon", "https://turktoon.com", "tr"),
@ -31,9 +31,9 @@ class WPMangaReaderGenerator : ThemeSourceGenerator {
SingleLang("Seafoam Scans", "https://seafoamscans.com", "en"),
SingleLang("GS Nation", "https://gs-nation.fr", "fr", overrideVersionCode = 1),
SingleLang("YugenMangas", "https://yugenmangas.com", "es"),
SingleLang("DragonTranslation", "https://dragontranslation.com", "es", isNsfw = true),
SingleLang("Patatescans", "https://patatescans.com", "fr", isNsfw = true),
SingleLang("Fusion Scanlation", "https://fusionscanlation.com", "es", isNsfw = true),
SingleLang("DragonTranslation", "https://dragontranslation.com", "es", isNsfw = true, overrideVersionCode = 1),
SingleLang("Patatescans", "https://patatescans.com", "fr", isNsfw = true, overrideVersionCode = 1),
SingleLang("Fusion Scanlation", "https://fusionscanlation.com", "es"),
)
companion object {

View File

@ -41,7 +41,7 @@ class WPMangaStreamGenerator : ThemeSourceGenerator {
SingleLang("NoxSubs", "https://noxsubs.com", "tr"),
SingleLang("World Romance Translation", "https://wrt.my.id/", "id", overrideVersionCode = 2),
SingleLang("The Apollo Team", "https://theapollo.team", "en"),
SingleLang("Sekte Doujin", "https://sektedoujin.xyz", "id", isNsfw = true),
SingleLang("Sekte Doujin", "https://sektedoujin.xyz", "id", isNsfw = true, overrideVersionCode = 2),
SingleLang("Lemon Juice Scan", "https://lemonjuicescan.com", "pt-BR", isNsfw = true),
SingleLang("Phoenix Fansub", "https://phoenixfansub.com", "es")
)