Emperor Scan: Update domain (#4841)

update domain
This commit is contained in:
bapeey 2024-08-30 06:14:59 -05:00 committed by Draff
parent a88503f4f4
commit 925e50d120
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 4 additions and 4 deletions

View File

@ -2,8 +2,8 @@ ext {
extName = 'Emperor Scan' extName = 'Emperor Scan'
extClass = '.EmperorScan' extClass = '.EmperorScan'
themePkg = 'madara' themePkg = 'madara'
baseUrl = 'https://emperorscan.org' baseUrl = 'https://emperormanga.net'
overrideVersionCode = 3 overrideVersionCode = 4
} }
apply from: "$rootDir/common.gradle" apply from: "$rootDir/common.gradle"

View File

@ -19,7 +19,7 @@ import java.util.Locale
class EmperorScan : class EmperorScan :
Madara( Madara(
"Emperor Scan", "Emperor Scan",
"https://emperorscan.org", "https://emperormanga.net",
"es", "es",
SimpleDateFormat("MMMM dd, yyyy", Locale("es")), SimpleDateFormat("MMMM dd, yyyy", Locale("es")),
), ),
@ -39,7 +39,7 @@ class EmperorScan :
.rateLimitHost(baseUrl.toHttpUrl(), 2) .rateLimitHost(baseUrl.toHttpUrl(), 2)
.build() .build()
override val mangaDetailsSelectorDescription = "div.tab-summary div.sinopsis p" override val mangaDetailsSelectorDescription = "div.summary__content p:not(p:has(a))"
override fun setupPreferenceScreen(screen: PreferenceScreen) { override fun setupPreferenceScreen(screen: PreferenceScreen) {
addRandomUAPreferenceToScreen(screen) addRandomUAPreferenceToScreen(screen)