Add Argos Comics (#1471)

* Add Argos Comics

* Remove the slash from the final URL

* Add custom latest update
This commit is contained in:
Chopper 2024-02-22 15:52:03 -03:00 committed by Draff
parent fc5a4825cb
commit 086475a12e
7 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,10 @@
ext {
extName = 'Argos Comics'
extClass = '.ArgosComics'
themePkg = 'madara'
baseUrl = 'https://argoscomics.com'
overrideVersionCode = 1
isNsfw = true
}
apply from: "$rootDir/common.gradle"

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,20 @@
package eu.kanade.tachiyomi.extension.pt.argoscomics
import eu.kanade.tachiyomi.multisrc.madara.Madara
import eu.kanade.tachiyomi.network.GET
import okhttp3.Request
import java.text.SimpleDateFormat
import java.util.Locale
class ArgosComics : Madara(
"Argos Comics",
"https://argoscomics.com",
"pt-BR",
SimpleDateFormat("MMMMM dd, yyyy", Locale("pt", "BR")),
) {
override fun latestUpdatesSelector() = "div.wp-block-wp-manga-gutenberg-manga-sliders-block:nth-child(2)"
override fun latestUpdatesRequest(page: Int): Request = GET(baseUrl, headers)
override fun latestUpdatesNextPageSelector() = null
}