diff --git a/src/pt/linkstartscan/build.gradle b/src/pt/linkstartscan/build.gradle new file mode 100644 index 000000000..61c976885 --- /dev/null +++ b/src/pt/linkstartscan/build.gradle @@ -0,0 +1,10 @@ +ext { + extName = 'Link Start Scan' + extClass = '.LinkStartScan' + themePkg = 'madara' + baseUrl = 'https://www.linkstartscan.xyz' + overrideVersionCode = 0 + isNsfw = true +} + +apply from: "$rootDir/common.gradle" diff --git a/src/pt/linkstartscan/res/mipmap-hdpi/ic_launcher.png b/src/pt/linkstartscan/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..f107d1f6c Binary files /dev/null and b/src/pt/linkstartscan/res/mipmap-hdpi/ic_launcher.png differ diff --git a/src/pt/linkstartscan/res/mipmap-mdpi/ic_launcher.png b/src/pt/linkstartscan/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..f9fe5236b Binary files /dev/null and b/src/pt/linkstartscan/res/mipmap-mdpi/ic_launcher.png differ diff --git a/src/pt/linkstartscan/res/mipmap-xhdpi/ic_launcher.png b/src/pt/linkstartscan/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..0eee81575 Binary files /dev/null and b/src/pt/linkstartscan/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/src/pt/linkstartscan/res/mipmap-xxhdpi/ic_launcher.png b/src/pt/linkstartscan/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..785949149 Binary files /dev/null and b/src/pt/linkstartscan/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/src/pt/linkstartscan/res/mipmap-xxxhdpi/ic_launcher.png b/src/pt/linkstartscan/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..9d4778c5a Binary files /dev/null and b/src/pt/linkstartscan/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/src/pt/linkstartscan/src/eu/kanade/tachiyomi/extension/pt/linkstartscan/LinkStartScan.kt b/src/pt/linkstartscan/src/eu/kanade/tachiyomi/extension/pt/linkstartscan/LinkStartScan.kt new file mode 100644 index 000000000..5d6dc6d80 --- /dev/null +++ b/src/pt/linkstartscan/src/eu/kanade/tachiyomi/extension/pt/linkstartscan/LinkStartScan.kt @@ -0,0 +1,22 @@ +package eu.kanade.tachiyomi.extension.pt.linkstartscan + +import eu.kanade.tachiyomi.multisrc.madara.Madara +import eu.kanade.tachiyomi.network.interceptor.rateLimit +import okhttp3.OkHttpClient +import java.text.SimpleDateFormat +import java.util.Locale +import java.util.concurrent.TimeUnit + +class LinkStartScan : Madara( + "Link Start Scan", + "https://www.linkstartscan.xyz", + "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 +}