Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.6 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 107 KiB After Width: | Height: | Size: 107 KiB |
|
@ -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
|
||||||
}
|
}
|
|
@ -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"),
|
||||||
|
|
|
@ -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"),
|
||||||
|
|