Move VS from WpMangaStream to Madara (closes #11335). (#11420)

This commit is contained in:
Alessandro Jean 2022-04-10 15:34:23 -03:00 committed by GitHub
parent 97f248419a
commit 45c85e3883
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 6 additions and 6 deletions

View File

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 107 KiB

After

Width:  |  Height:  |  Size: 107 KiB

View File

@ -1,25 +1,25 @@
package eu.kanade.tachiyomi.extension.pt.vaposcan package eu.kanade.tachiyomi.extension.pt.vaposcan
import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor
import eu.kanade.tachiyomi.multisrc.wpmangastream.WPMangaStream import eu.kanade.tachiyomi.multisrc.madara.Madara
import okhttp3.OkHttpClient import okhttp3.OkHttpClient
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.Locale import java.util.Locale
import java.util.concurrent.TimeUnit import java.util.concurrent.TimeUnit
class VapoScan : WPMangaStream( class VapoScan : Madara(
"Vapo Scan", "Vapo Scan",
"https://vaposcans.com", "https://vaposcans.com",
"pt-BR", "pt-BR",
SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR")) SimpleDateFormat("dd/MM/yyyy", Locale("pt", "BR"))
) { ) {
// Theme changed from Madara to WpMangaStream. // Source changed from WpMangaStream to Madara.
override val versionId = 2 override val versionId = 2
override val client: OkHttpClient = super.client.newBuilder() override val client: OkHttpClient = super.client.newBuilder()
.addInterceptor(RateLimitInterceptor(1, 2, TimeUnit.SECONDS)) .addInterceptor(RateLimitInterceptor(1, 2, TimeUnit.SECONDS))
.build() .build()
override val altName: String = "Nome alternativo: " override val useNewChapterEndpoint = true
} }

View File

@ -426,6 +426,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Unemployed Scans", "https://unemployedscans.com", "en", overrideVersionCode = 1), SingleLang("Unemployed Scans", "https://unemployedscans.com", "en", overrideVersionCode = 1),
SingleLang("Uyuyan Balik", "https://uyuyanbalik.com", "tr", overrideVersionCode = 1), SingleLang("Uyuyan Balik", "https://uyuyanbalik.com", "tr", overrideVersionCode = 1),
SingleLang("Vanguard Bun", "https://vanguardbun.com", "en", overrideVersionCode = 1), SingleLang("Vanguard Bun", "https://vanguardbun.com", "en", overrideVersionCode = 1),
SingleLang("Vapo Scan", "https://vaposcans.com", "pt-BR"),
SingleLang("Visbellum", "https://visbellum.com", "pt-BR", overrideVersionCode = 2), SingleLang("Visbellum", "https://visbellum.com", "pt-BR", overrideVersionCode = 2),
SingleLang("WD Scans (Wicked Dragon Scans)", "https://wdscans.com", "en", className = "WDScans"), SingleLang("WD Scans (Wicked Dragon Scans)", "https://wdscans.com", "en", className = "WDScans"),
SingleLang("Wakamics", "https://wakamics.net", "en"), SingleLang("Wakamics", "https://wakamics.net", "en"),

View File

@ -51,7 +51,6 @@ class WPMangaStreamGenerator : ThemeSourceGenerator {
SingleLang("Tempest Manga", "https://manga.tempestfansub.com", "tr"), SingleLang("Tempest Manga", "https://manga.tempestfansub.com", "tr"),
SingleLang("The Apollo Team", "https://theapollo.team", "en"), SingleLang("The Apollo Team", "https://theapollo.team", "en"),
SingleLang("TukangKomik", "https://tukangkomik.com", "id"), SingleLang("TukangKomik", "https://tukangkomik.com", "id"),
SingleLang("Vapo Scan", "https://vaposcans.com", "pt-BR", overrideVersionCode = 3),
SingleLang("West Manga", "https://westmanga.info", "id", overrideVersionCode = 1), SingleLang("West Manga", "https://westmanga.info", "id", overrideVersionCode = 1),
SingleLang("xCaliBR Scans", "https://xcalibrscans.com", "en", overrideVersionCode = 3), SingleLang("xCaliBR Scans", "https://xcalibrscans.com", "en", overrideVersionCode = 3),
SingleLang("Shadow Mangas", "https://shadowmangas.com", "es"), SingleLang("Shadow Mangas", "https://shadowmangas.com", "es"),