TyrantScans: Enable latestUpdate (#4878)

Enable latestUpdate
This commit is contained in:
David Alysson 2024-09-02 09:12:46 -03:00 committed by GitHub
parent aa81348cbc
commit 6e04d3deee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 7 deletions

View File

@ -3,7 +3,7 @@ ext {
extClass = '.TyrantScans'
themePkg = 'zeistmanga'
baseUrl = 'https://www.tyrantscans.com'
overrideVersionCode = 0
overrideVersionCode = 1
}
apply from: "$rootDir/common.gradle"

View File

@ -1,15 +1,14 @@
package eu.kanade.tachiyomi.extension.pt.tyrantscans
import eu.kanade.tachiyomi.multisrc.zeistmanga.ZeistManga
import eu.kanade.tachiyomi.source.model.MangasPage
import eu.kanade.tachiyomi.network.GET
import okhttp3.Request
import okhttp3.Response
class TyrantScans : ZeistManga("Tyrant Scans", "https://www.tyrantscans.com", "pt-BR") {
override val supportsLatest = false
override fun popularMangaRequest(page: Int): Request = GET(baseUrl, headers)
override fun popularMangaRequest(page: Int): Request = latestUpdatesRequest(page)
override fun popularMangaParse(response: Response): MangasPage = latestUpdatesParse(response)
override val popularMangaSelector = "#PopularPosts3 article"
override val popularMangaSelectorTitle = "h3 a"
override val popularMangaSelectorUrl = popularMangaSelectorTitle
}