diff --git a/src/pt/argoscomics/build.gradle b/src/pt/argoscomics/build.gradle new file mode 100644 index 000000000..ab2d8a87e --- /dev/null +++ b/src/pt/argoscomics/build.gradle @@ -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" diff --git a/src/pt/argoscomics/res/mipmap-hdpi/ic_launcher.png b/src/pt/argoscomics/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..1650a947a Binary files /dev/null and b/src/pt/argoscomics/res/mipmap-hdpi/ic_launcher.png differ diff --git a/src/pt/argoscomics/res/mipmap-mdpi/ic_launcher.png b/src/pt/argoscomics/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..18746eb44 Binary files /dev/null and b/src/pt/argoscomics/res/mipmap-mdpi/ic_launcher.png differ diff --git a/src/pt/argoscomics/res/mipmap-xhdpi/ic_launcher.png b/src/pt/argoscomics/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..755dd6906 Binary files /dev/null and b/src/pt/argoscomics/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/src/pt/argoscomics/res/mipmap-xxhdpi/ic_launcher.png b/src/pt/argoscomics/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..84b1e9724 Binary files /dev/null and b/src/pt/argoscomics/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/src/pt/argoscomics/res/mipmap-xxxhdpi/ic_launcher.png b/src/pt/argoscomics/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..4187774c1 Binary files /dev/null and b/src/pt/argoscomics/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/src/pt/argoscomics/src/eu/kanade/tachiyomi/extension/pt/argoscomics/ArgosComics.kt b/src/pt/argoscomics/src/eu/kanade/tachiyomi/extension/pt/argoscomics/ArgosComics.kt new file mode 100644 index 000000000..d27edc7d0 --- /dev/null +++ b/src/pt/argoscomics/src/eu/kanade/tachiyomi/extension/pt/argoscomics/ArgosComics.kt @@ -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 +}