Initial commit
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 3.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 4.4 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 8.4 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
BIN
multisrc/overrides/madara/dropescan/res/web_hi_res_512.png
Normal file
BIN
multisrc/overrides/madara/dropescan/res/web_hi_res_512.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 65 KiB |
30
multisrc/overrides/madara/dropescan/src/DropeScan.kt
Normal file
30
multisrc/overrides/madara/dropescan/src/DropeScan.kt
Normal file
@@ -0,0 +1,30 @@
|
||||
package eu.kanade.tachiyomi.extension.pt.dropescan
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
import eu.kanade.tachiyomi.network.GET
|
||||
import eu.kanade.tachiyomi.network.interceptor.rateLimit
|
||||
import okhttp3.OkHttpClient
|
||||
import okhttp3.Request
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Locale
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
class DropeScan : Madara(
|
||||
"Drope Scan",
|
||||
"https://dropescan.com",
|
||||
"pt-BR",
|
||||
SimpleDateFormat("dd/MM/yyyy", Locale("pt", "BR")),
|
||||
) {
|
||||
|
||||
override val client: OkHttpClient = super.client.newBuilder()
|
||||
.rateLimit(1, 2, TimeUnit.SECONDS)
|
||||
.build()
|
||||
|
||||
override val useNewChapterEndpoint = true
|
||||
|
||||
override fun popularMangaRequest(page: Int): Request =
|
||||
GET("$baseUrl/manga/page/$page/?m_orderby=views", headers)
|
||||
|
||||
override fun latestUpdatesRequest(page: Int): Request =
|
||||
GET("$baseUrl/manga/page/$page/?m_orderby=latest", headers)
|
||||
}
|
||||
Reference in New Issue
Block a user