mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-22 18:32:39 +01:00
parent
aa81348cbc
commit
6e04d3deee
@ -3,7 +3,7 @@ ext {
|
||||
extClass = '.TyrantScans'
|
||||
themePkg = 'zeistmanga'
|
||||
baseUrl = 'https://www.tyrantscans.com'
|
||||
overrideVersionCode = 0
|
||||
overrideVersionCode = 1
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user