Update domains (#9558)

This commit is contained in:
Chopper 2025-07-08 14:28:40 -03:00 committed by Draff
parent 4050e42337
commit cdcde3cca1
Signed by: Draff
GPG Key ID: E8A89F3211677653
10 changed files with 45 additions and 22 deletions

View File

@ -2,8 +2,8 @@ ext {
extName = 'BarManga'
extClass = '.BarManga'
themePkg = 'madara'
baseUrl = 'https://archiviumbar.com'
overrideVersionCode = 2
baseUrl = 'https://libribar.com'
overrideVersionCode = 3
isNsfw = false
}

View File

@ -6,10 +6,11 @@ import java.util.Locale
class BarManga : Madara(
"BarManga",
"https://archiviumbar.com",
"https://libribar.com",
"es",
SimpleDateFormat("dd/MM/yyyy", Locale.ROOT),
) {
override val useLoadMoreRequest = LoadMoreStrategy.Always
override val useLoadMoreRequest = LoadMoreStrategy.Never
override val mangaDetailsSelectorDescription = "div.flamesummary > div.manga-excerpt"
}

View File

@ -2,9 +2,13 @@ ext {
extName = 'LectorManga.lat'
extClass = '.LectorMangaLat'
themePkg = 'madara'
baseUrl = 'https://www.lectormanga.lat'
overrideVersionCode = 0
baseUrl = 'https://lectormangaa.com'
overrideVersionCode = 1
isNsfw = true
}
apply from: "$rootDir/common.gradle"
dependencies {
implementation project(':lib:randomua')
}

View File

@ -1,19 +1,35 @@
package eu.kanade.tachiyomi.extension.es.lectormangalat
import androidx.preference.PreferenceScreen
import eu.kanade.tachiyomi.lib.randomua.addRandomUAPreferenceToScreen
import eu.kanade.tachiyomi.lib.randomua.getPrefCustomUA
import eu.kanade.tachiyomi.lib.randomua.getPrefUAType
import eu.kanade.tachiyomi.lib.randomua.setRandomUserAgent
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.network.interceptor.rateLimit
import eu.kanade.tachiyomi.source.ConfigurableSource
import keiyoushi.utils.getPreferences
import okhttp3.OkHttpClient
import java.text.SimpleDateFormat
import java.util.Locale
import java.util.concurrent.TimeUnit
class LectorMangaLat : Madara(
"LectorManga.lat",
"https://www.lectormanga.lat",
"es",
dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale("es")),
) {
class LectorMangaLat :
Madara(
"LectorManga.lat",
"https://lectormangaa.com",
"es",
dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale("es")),
),
ConfigurableSource {
private val preferences = getPreferences()
override val client: OkHttpClient = super.client.newBuilder()
.setRandomUserAgent(
preferences.getPrefUAType(),
preferences.getPrefCustomUA(),
)
.rateLimit(2, 1, TimeUnit.SECONDS)
.build()
@ -22,4 +38,8 @@ class LectorMangaLat : Madara(
override val useNewChapterEndpoint = true
override val pageListParseSelector = "div.reading-content div.page-break > img"
override fun setupPreferenceScreen(screen: PreferenceScreen) {
addRandomUAPreferenceToScreen(screen)
}
}

View File

@ -2,8 +2,8 @@ ext {
extName = 'Taurus Fansub'
extClass = '.TaurusFansub'
themePkg = 'madara'
baseUrl = 'https://lectortaurus2.yopres.com'
overrideVersionCode = 5
baseUrl = 'https://taurus.topmanhuas.org'
overrideVersionCode = 6
isNsfw = false
}

View File

@ -10,7 +10,7 @@ import java.util.concurrent.TimeUnit
class TaurusFansub : Madara(
"Taurus Fansub",
"https://lectortaurus2.yopres.com",
"https://taurus.topmanhuas.org",
"es",
dateFormat = SimpleDateFormat("dd/MM/yyy", Locale.ROOT),
) {

View File

@ -2,8 +2,8 @@ ext {
extName = 'RawXZ'
extClass = '.RawXZ'
themePkg = 'madara'
baseUrl = 'https://rawxz.si'
overrideVersionCode = 2
baseUrl = 'https://rawxjp.com'
overrideVersionCode = 3
isNsfw = true
}

View File

@ -6,12 +6,10 @@ import java.util.Locale
class RawXZ : Madara(
"RawXZ",
"https://rawxz.to",
"https://rawxjp.com",
"ja",
dateFormat = SimpleDateFormat("M月 d, yyyy", Locale.ROOT),
) {
override val useLoadMoreRequest = LoadMoreStrategy.Never
override val useNewChapterEndpoint = false
override val mangaSubString = "jp-manga"
}

View File

@ -1,7 +1,7 @@
ext {
extName = "Dua Leo Truyen"
extClass = ".DuaLeoTruyen"
extVersionCode = 9
extVersionCode = 10
isNsfw = true
}

View File

@ -52,7 +52,7 @@ class DuaLeoTruyen : ParsedHttpSource(), ConfigurableSource {
}
}
private val defaultBaseUrl: String = "https://dualeotruyeno.com"
private val defaultBaseUrl: String = "https://dualeotruyenp.com"
override val lang = "vi"