Readerfront: remove extra slash (#9818)

This commit is contained in:
ObserverOfTime 2021-11-20 15:43:53 +02:00 committed by GitHub
parent 0881549176
commit a21da0ff59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@ class RavensScansFactory : SourceFactory {
override fun createSources() = listOf(RavensScans("es"), RavensScans("en"))
class RavensScans(lang: String) :
ReaderFront("Ravens Scans", "https://ravens-scans.com/", lang) {
ReaderFront("Ravens Scans", "https://ravens-scans.com", lang) {
override fun getImageCDN(path: String, width: Int) =
"https://i${(0..2).random()}.wp.com/img-cdn1.ravens-scans.com" +
"$path?strip=all&quality=100&w=$width"

View File

@ -2,7 +2,7 @@ package eu.kanade.tachiyomi.extension.en.scyllascans
import eu.kanade.tachiyomi.multisrc.readerfront.ReaderFront
class ScyllaScans : ReaderFront("Scylla Scans", "https://scyllascans.org/", "en") {
class ScyllaScans : ReaderFront("Scylla Scans", "https://scyllascans.org", "en") {
override fun getImageCDN(path: String, width: Int) =
"https://i${(0..2).random()}.wp.com/api.scyllascans.org" +
"$path?strip=all&quality=100&w=$width"

View File

@ -9,11 +9,11 @@ class ReaderFrontGenerator : ThemeSourceGenerator {
override val themeClass = "ReaderFront"
override val baseVersionCode = 2
override val baseVersionCode = 3
override val sources = listOf(
MultiLang("Ravens Scans", "https://ravens-scans.com/", listOf("es", "en"), true),
SingleLang("Scylla Scans", "https://scyllascans.org/", "en"),
MultiLang("Ravens Scans", "https://ravens-scans.com", listOf("es", "en"), true),
SingleLang("Scylla Scans", "https://scyllascans.org", "en"),
)
companion object {