Migrate FusionScanlation (#13810)
* Moves FusionScanlation * Add versionId
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
|
@ -0,0 +1,23 @@
|
|||
package eu.kanade.tachiyomi.extension.es.fusionscanlation
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||
import okhttp3.OkHttpClient
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
class FusionScanlation : Madara("Fusion Scanlation", "https://fusionscanlation.com", "es", SimpleDateFormat("d 'de' MMMM 'de' yyyy", Locale("es"))) {
|
||||
|
||||
override val versionId = 2
|
||||
|
||||
override val seriesTypeSelector = ".post-content_item:contains(Tipo) .summary-content"
|
||||
override val altNameSelector = ".post-content_item:contains(Nombre Alternativo) .summary-content"
|
||||
override val altName = "Nombre alternativo: "
|
||||
|
||||
override val client: OkHttpClient = network.cloudflareClient.newBuilder()
|
||||
.connectTimeout(10, TimeUnit.SECONDS)
|
||||
.readTimeout(30, TimeUnit.SECONDS)
|
||||
.rateLimit(1, 2)
|
||||
.build()
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
package eu.kanade.tachiyomi.extension.es.fusionscanlation
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
|
||||
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||
import okhttp3.OkHttpClient
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
class FusionScanlation : MangaThemesia("Fusion Scanlation", "https://fusionscanlation.com", "es", dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale("es"))) {
|
||||
|
||||
override val client: OkHttpClient = network.cloudflareClient.newBuilder()
|
||||
.connectTimeout(10, TimeUnit.SECONDS)
|
||||
.readTimeout(30, TimeUnit.SECONDS)
|
||||
.rateLimit(1, 2)
|
||||
.build()
|
||||
}
|
|
@ -116,6 +116,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("Fug Manga", "https://fugmanga.net", "ar", overrideVersionCode = 1),
|
||||
SingleLang("Fukushuu no Yuusha", "https://fny-scantrad.com", "fr", overrideVersionCode = 2),
|
||||
SingleLang("Furio Scans", "https://furioscans.com", "pt-BR", overrideVersionCode = 4),
|
||||
SingleLang("Fusion Scanlation", "https://fusionscanlation.com", "es", className = "FusionScanlation", overrideVersionCode = 3),
|
||||
SingleLang("GalaxyDegenScans", "https://gdstmp.site", "en", overrideVersionCode = 3),
|
||||
SingleLang("Gatemanga", "https://gatemanga.com", "ar", overrideVersionCode = 1),
|
||||
SingleLang("GeassToon", "https://geasstoon.com", "tr"),
|
||||
|
|
|
@ -32,7 +32,6 @@ class MangaThemesiaGenerator : ThemeSourceGenerator {
|
|||
SingleLang("Dojing.net", "https://dojing.net", "id", isNsfw = true, className = "DojingNet"),
|
||||
SingleLang("FlameScans.fr", "https://flamescans.fr", "fr", className = "FlameScansFR"),
|
||||
SingleLang("Franxx Mangás", "https://franxxmangas.net", "pt-BR", className = "FranxxMangas", isNsfw = true),
|
||||
SingleLang("Fusion Scanlation", "https://fusionscanlation.com", "es", className = "FusionScanlation", overrideVersionCode = 2),
|
||||
SingleLang("Gabut Scans", "https://gabutscans.com", "id", overrideVersionCode = 1),
|
||||
SingleLang("Gecenin Lordu", "https://geceninlordu.com", "tr", overrideVersionCode = 1),
|
||||
SingleLang("GoGoManga", "https://gogomanga.fun", "en", overrideVersionCode = 1),
|
||||
|
|