Add Argos Comics (#1471)
* Add Argos Comics * Remove the slash from the final URL * Add custom latest update
This commit is contained in:
parent
fc5a4825cb
commit
086475a12e
|
@ -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 |
|
@ -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
|
||||||
|
}
|
Loading…
Reference in New Issue