[Decadence Scans] Use new chapter endpoint (#9073)

* Updated Decadence Scans to use the new chapter endpoint to fetch chapters
* Added nsfw tag since Decadence Scans contains mature (18+) media
This commit is contained in:
XdarkX 2021-09-15 20:11:35 +02:00 committed by GitHub
parent 8dd3111e62
commit b6b01276c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 1 deletions

View File

@ -0,0 +1,9 @@
package eu.kanade.tachiyomi.extension.en.decadencescans
import eu.kanade.tachiyomi.annotations.Nsfw
import eu.kanade.tachiyomi.multisrc.madara.Madara
@Nsfw
class DecadenceScans : Madara("Decadence Scans", "https://reader.decadencescans.com", "en") {
override val useNewChapterEndpoint: Boolean = true
}

View File

@ -65,7 +65,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("ComicsWorld", "https://comicsworld.in", "hi"), SingleLang("ComicsWorld", "https://comicsworld.in", "hi"),
SingleLang("CopyPasteScan", "https://copypastescan.xyz", "es", overrideVersionCode = 1), SingleLang("CopyPasteScan", "https://copypastescan.xyz", "es", overrideVersionCode = 1),
SingleLang("DarkYue Realm", "https://darkyuerealm.site/web", "pt-BR", pkgName = "darkyurealm", overrideVersionCode = 4), SingleLang("DarkYue Realm", "https://darkyuerealm.site/web", "pt-BR", pkgName = "darkyurealm", overrideVersionCode = 4),
SingleLang("Decadence Scans", "https://reader.decadencescans.com", "en", overrideVersionCode = 1), SingleLang("Decadence Scans", "https://reader.decadencescans.com", "en", isNsfw = true, overrideVersionCode = 2),
SingleLang("DiamondFansub", "https://diamondfansub.com", "tr", overrideVersionCode = 1), SingleLang("DiamondFansub", "https://diamondfansub.com", "tr", overrideVersionCode = 1),
SingleLang("Disaster Scans", "https://disasterscans.com", "en", overrideVersionCode = 1), SingleLang("Disaster Scans", "https://disasterscans.com", "en", overrideVersionCode = 1),
SingleLang("Diskus Scan", "https://diskusscan.com", "pt-BR", overrideVersionCode = 1), SingleLang("Diskus Scan", "https://diskusscan.com", "pt-BR", overrideVersionCode = 1),