Update domains (#9558)
This commit is contained in:
parent
4050e42337
commit
cdcde3cca1
@ -2,8 +2,8 @@ ext {
|
|||||||
extName = 'BarManga'
|
extName = 'BarManga'
|
||||||
extClass = '.BarManga'
|
extClass = '.BarManga'
|
||||||
themePkg = 'madara'
|
themePkg = 'madara'
|
||||||
baseUrl = 'https://archiviumbar.com'
|
baseUrl = 'https://libribar.com'
|
||||||
overrideVersionCode = 2
|
overrideVersionCode = 3
|
||||||
isNsfw = false
|
isNsfw = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6,10 +6,11 @@ import java.util.Locale
|
|||||||
|
|
||||||
class BarManga : Madara(
|
class BarManga : Madara(
|
||||||
"BarManga",
|
"BarManga",
|
||||||
"https://archiviumbar.com",
|
"https://libribar.com",
|
||||||
"es",
|
"es",
|
||||||
SimpleDateFormat("dd/MM/yyyy", Locale.ROOT),
|
SimpleDateFormat("dd/MM/yyyy", Locale.ROOT),
|
||||||
) {
|
) {
|
||||||
override val useLoadMoreRequest = LoadMoreStrategy.Always
|
override val useLoadMoreRequest = LoadMoreStrategy.Never
|
||||||
|
|
||||||
override val mangaDetailsSelectorDescription = "div.flamesummary > div.manga-excerpt"
|
override val mangaDetailsSelectorDescription = "div.flamesummary > div.manga-excerpt"
|
||||||
}
|
}
|
||||||
|
@ -2,9 +2,13 @@ ext {
|
|||||||
extName = 'LectorManga.lat'
|
extName = 'LectorManga.lat'
|
||||||
extClass = '.LectorMangaLat'
|
extClass = '.LectorMangaLat'
|
||||||
themePkg = 'madara'
|
themePkg = 'madara'
|
||||||
baseUrl = 'https://www.lectormanga.lat'
|
baseUrl = 'https://lectormangaa.com'
|
||||||
overrideVersionCode = 0
|
overrideVersionCode = 1
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
implementation project(':lib:randomua')
|
||||||
|
}
|
||||||
|
@ -1,19 +1,35 @@
|
|||||||
package eu.kanade.tachiyomi.extension.es.lectormangalat
|
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.multisrc.madara.Madara
|
||||||
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||||
|
import eu.kanade.tachiyomi.source.ConfigurableSource
|
||||||
|
import keiyoushi.utils.getPreferences
|
||||||
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 LectorMangaLat : Madara(
|
class LectorMangaLat :
|
||||||
|
Madara(
|
||||||
"LectorManga.lat",
|
"LectorManga.lat",
|
||||||
"https://www.lectormanga.lat",
|
"https://lectormangaa.com",
|
||||||
"es",
|
"es",
|
||||||
dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale("es")),
|
dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale("es")),
|
||||||
) {
|
),
|
||||||
|
ConfigurableSource {
|
||||||
|
|
||||||
|
private val preferences = getPreferences()
|
||||||
|
|
||||||
override val client: OkHttpClient = super.client.newBuilder()
|
override val client: OkHttpClient = super.client.newBuilder()
|
||||||
|
.setRandomUserAgent(
|
||||||
|
preferences.getPrefUAType(),
|
||||||
|
preferences.getPrefCustomUA(),
|
||||||
|
)
|
||||||
.rateLimit(2, 1, TimeUnit.SECONDS)
|
.rateLimit(2, 1, TimeUnit.SECONDS)
|
||||||
.build()
|
.build()
|
||||||
|
|
||||||
@ -22,4 +38,8 @@ class LectorMangaLat : Madara(
|
|||||||
override val useNewChapterEndpoint = true
|
override val useNewChapterEndpoint = true
|
||||||
|
|
||||||
override val pageListParseSelector = "div.reading-content div.page-break > img"
|
override val pageListParseSelector = "div.reading-content div.page-break > img"
|
||||||
|
|
||||||
|
override fun setupPreferenceScreen(screen: PreferenceScreen) {
|
||||||
|
addRandomUAPreferenceToScreen(screen)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,8 +2,8 @@ ext {
|
|||||||
extName = 'Taurus Fansub'
|
extName = 'Taurus Fansub'
|
||||||
extClass = '.TaurusFansub'
|
extClass = '.TaurusFansub'
|
||||||
themePkg = 'madara'
|
themePkg = 'madara'
|
||||||
baseUrl = 'https://lectortaurus2.yopres.com'
|
baseUrl = 'https://taurus.topmanhuas.org'
|
||||||
overrideVersionCode = 5
|
overrideVersionCode = 6
|
||||||
isNsfw = false
|
isNsfw = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ import java.util.concurrent.TimeUnit
|
|||||||
|
|
||||||
class TaurusFansub : Madara(
|
class TaurusFansub : Madara(
|
||||||
"Taurus Fansub",
|
"Taurus Fansub",
|
||||||
"https://lectortaurus2.yopres.com",
|
"https://taurus.topmanhuas.org",
|
||||||
"es",
|
"es",
|
||||||
dateFormat = SimpleDateFormat("dd/MM/yyy", Locale.ROOT),
|
dateFormat = SimpleDateFormat("dd/MM/yyy", Locale.ROOT),
|
||||||
) {
|
) {
|
||||||
|
@ -2,8 +2,8 @@ ext {
|
|||||||
extName = 'RawXZ'
|
extName = 'RawXZ'
|
||||||
extClass = '.RawXZ'
|
extClass = '.RawXZ'
|
||||||
themePkg = 'madara'
|
themePkg = 'madara'
|
||||||
baseUrl = 'https://rawxz.si'
|
baseUrl = 'https://rawxjp.com'
|
||||||
overrideVersionCode = 2
|
overrideVersionCode = 3
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6,12 +6,10 @@ import java.util.Locale
|
|||||||
|
|
||||||
class RawXZ : Madara(
|
class RawXZ : Madara(
|
||||||
"RawXZ",
|
"RawXZ",
|
||||||
"https://rawxz.to",
|
"https://rawxjp.com",
|
||||||
"ja",
|
"ja",
|
||||||
dateFormat = SimpleDateFormat("M月 d, yyyy", Locale.ROOT),
|
dateFormat = SimpleDateFormat("M月 d, yyyy", Locale.ROOT),
|
||||||
) {
|
) {
|
||||||
override val useLoadMoreRequest = LoadMoreStrategy.Never
|
override val useLoadMoreRequest = LoadMoreStrategy.Never
|
||||||
override val useNewChapterEndpoint = false
|
override val useNewChapterEndpoint = false
|
||||||
|
|
||||||
override val mangaSubString = "jp-manga"
|
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = "Dua Leo Truyen"
|
extName = "Dua Leo Truyen"
|
||||||
extClass = ".DuaLeoTruyen"
|
extClass = ".DuaLeoTruyen"
|
||||||
extVersionCode = 9
|
extVersionCode = 10
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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"
|
override val lang = "vi"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user