parent
75dad8e026
commit
70c74d2b55
@ -3,7 +3,7 @@ ext {
|
|||||||
extClass = '.PhiliaScans'
|
extClass = '.PhiliaScans'
|
||||||
themePkg = 'madara'
|
themePkg = 'madara'
|
||||||
baseUrl = "https://philiascans.org"
|
baseUrl = "https://philiascans.org"
|
||||||
overrideVersionCode = 0
|
overrideVersionCode = 1
|
||||||
isNsfw = false
|
isNsfw = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,6 +16,13 @@ class PhiliaScans : Madara(
|
|||||||
override val versionId: Int = 2
|
override val versionId: Int = 2
|
||||||
override val useNewChapterEndpoint = true
|
override val useNewChapterEndpoint = true
|
||||||
|
|
||||||
|
override fun popularMangaSelector(): String = ".manga__item"
|
||||||
|
override fun latestUpdatesSelector(): String = popularMangaSelector()
|
||||||
|
override fun searchMangaSelector(): String = popularMangaSelector()
|
||||||
|
|
||||||
|
override val mangaDetailsSelectorTitle: String = "h1.post-title"
|
||||||
|
override val mangaDetailsSelectorStatus: String = "div.summary-heading:contains(Status) + div"
|
||||||
|
|
||||||
override fun popularMangaRequest(page: Int): Request {
|
override fun popularMangaRequest(page: Int): Request {
|
||||||
val url = baseUrl.toHttpUrl().newBuilder().apply {
|
val url = baseUrl.toHttpUrl().newBuilder().apply {
|
||||||
addQueryParameter("post_type", "wp-manga")
|
addQueryParameter("post_type", "wp-manga")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user