mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-22 02:12:42 +01:00
parent
43659aeaf6
commit
fe5204de98
@ -1,9 +1,9 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'HouseMangas'
|
extName = 'Visor Mangas'
|
||||||
extClass = '.HouseMangas'
|
extClass = '.VisorMangas'
|
||||||
themePkg = 'madara'
|
themePkg = 'madara'
|
||||||
baseUrl = 'https://housemangas.com'
|
baseUrl = 'https://visormanga.xyz'
|
||||||
overrideVersionCode = 0
|
overrideVersionCode = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
@ -6,11 +6,11 @@ import java.text.SimpleDateFormat
|
|||||||
import java.util.Locale
|
import java.util.Locale
|
||||||
import java.util.concurrent.TimeUnit
|
import java.util.concurrent.TimeUnit
|
||||||
|
|
||||||
class HouseMangas : Madara(
|
class VisorMangas : Madara(
|
||||||
"HouseMangas",
|
"Visor Mangas",
|
||||||
"https://housemangas.com",
|
"https://visormanga.xyz",
|
||||||
"es",
|
"es",
|
||||||
dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale("es")),
|
dateFormat = SimpleDateFormat("dd 'de' MMMM 'de' yyyy", Locale("es")),
|
||||||
) {
|
) {
|
||||||
override val client = super.client.newBuilder()
|
override val client = super.client.newBuilder()
|
||||||
.rateLimit(2, 1, TimeUnit.SECONDS)
|
.rateLimit(2, 1, TimeUnit.SECONDS)
|
||||||
@ -19,5 +19,5 @@ class HouseMangas : Madara(
|
|||||||
override val useNewChapterEndpoint = true
|
override val useNewChapterEndpoint = true
|
||||||
override val useLoadMoreRequest = LoadMoreStrategy.Always
|
override val useLoadMoreRequest = LoadMoreStrategy.Always
|
||||||
|
|
||||||
override val mangaDetailsSelectorStatus = "div.post-content_item:contains(Estado) > div.summary-content"
|
override val popularMangaUrlSelector = "div.post-title a[href^=$baseUrl]"
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user