PhilliaScans Fix Selectors (#7854)

Fix Selectors
This commit is contained in:
Creepler13 2025-03-04 02:50:09 +01:00 committed by Draff
parent 75dad8e026
commit 70c74d2b55
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 8 additions and 1 deletions

View File

@ -3,7 +3,7 @@ ext {
extClass = '.PhiliaScans'
themePkg = 'madara'
baseUrl = "https://philiascans.org"
overrideVersionCode = 0
overrideVersionCode = 1
isNsfw = false
}

View File

@ -16,6 +16,13 @@ class PhiliaScans : Madara(
override val versionId: Int = 2
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 {
val url = baseUrl.toHttpUrl().newBuilder().apply {
addQueryParameter("post_type", "wp-manga")