Skip to content

Commit

Permalink
Hikari Scan Migrate: madara > mangathemesia.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashu11-A committed Dec 7, 2023
1 parent daa6e2e commit 31d0d7b
Show file tree
Hide file tree
Showing 23 changed files with 24 additions and 24 deletions.
21 changes: 0 additions & 21 deletions multisrc/overrides/madara/hikariscan/src/HikariScan.kt

This file was deleted.

23 changes: 23 additions & 0 deletions multisrc/overrides/mangathemesia/hikariscan/src/HikariScan.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package eu.kanade.tachiyomi.extension.pt.hikariscan

import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
import okhttp3.OkHttpClient
import java.text.SimpleDateFormat
import java.util.Locale

class HikariScan : MangaThemesia(
"Hikari Scan",
"https://hikariscan.org",
"pt-BR",
dateFormat = SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR")),
) {

override val client: OkHttpClient = super.client.newBuilder()
.build()

override val altNamePrefix = "Nomes alternativos: "

override val seriesArtistSelector = ".tsinfo .imptdt:contains(Artista) > i"
override val seriesAuthorSelector = ".tsinfo .imptdt:contains(Autor) > i"
override val seriesTypeSelector = ".tsinfo .imptdt:contains(Tipo) > a"
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@ class MadaraGenerator : ThemeSourceGenerator {
override val sources = listOf(

// Extenções Minhas:
SingleLang("Hikari Scan", "https://hikariscan.org", "pt-BR", isNsfw = true, overrideVersionCode = 4),
SingleLang("Hunters Scan", "https://huntersscan.xyz", "pt-BR", isNsfw = true, overrideVersionCode = 2),

// Extenções Modificadas:

SingleLang("Momo no Hana Scan", "https://momonohanascan.com", "pt-BR", className = "MomoNoHanaScan", overrideVersionCode = 2),
SingleLang("Zero Scan", "https://zeroscan.com.br", "pt-BR", isNsfw = true, overrideVersionCode = 1),
SingleLang("Drope Scan", "https://dropescan.com", "pt-BR", overrideVersionCode = 5),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class MangaThemesiaGenerator : ThemeSourceGenerator {

override val sources = listOf(
// Extenções Modificadas:

SingleLang("Hikari Scan", "https://hikariscan.org", "pt-BR", isNsfw = true),
SingleLang("Mundo Mangá-Kun", "https://mundomangakun.com.br", "pt-BR", className = "MundoMangaKun", isNsfw = true, overrideVersionCode = 1),
SingleLang("Mangás Chan", "https://mangaschan.com", "pt-BR", className = "MangasChan", overrideVersionCode = 1),
SingleLang("Silence Scan", "https://silencescan.com.br", "pt-BR", isNsfw = true, overrideVersionCode = 6),
Expand Down

0 comments on commit 31d0d7b

Please sign in to comment.