diff --git a/.github/workflows/issue_closer.yml b/.github/workflows/issue_closer.yml index 66138b0d1..ef2254548 100644 --- a/.github/workflows/issue_closer.yml +++ b/.github/workflows/issue_closer.yml @@ -36,7 +36,7 @@ jobs: }, { "type": "both", - "regex": ".*(teamx|tqneplus|manga\\s*disk|asura\\s*scans|komiktap|gourmet\\s*scans|manga\\s*crimson|mangawow|voidscans|hikari\\s*scans|mangagegecesi|piedpiperfb).*", + "regex": ".*(teamx|tqneplus|manga\\s*disk|komiktap|gourmet\\s*scans|manga\\s*crimson|mangawow|voidscans|hikari\\s*scans|mangagegecesi|piedpiperfb).*", "message": "{match} will not be added back as the Scanlator team has requested it to be removed. Read #3475 for more information" } ] diff --git a/multisrc/overrides/wpmangastream/asurascans/res/mipmap-hdpi/ic_launcher.png b/multisrc/overrides/wpmangastream/asurascans/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..9866f55db Binary files /dev/null and b/multisrc/overrides/wpmangastream/asurascans/res/mipmap-hdpi/ic_launcher.png differ diff --git a/multisrc/overrides/wpmangastream/asurascans/res/mipmap-mdpi/ic_launcher.png b/multisrc/overrides/wpmangastream/asurascans/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..4ef6d7936 Binary files /dev/null and b/multisrc/overrides/wpmangastream/asurascans/res/mipmap-mdpi/ic_launcher.png differ diff --git a/multisrc/overrides/wpmangastream/asurascans/res/mipmap-xhdpi/ic_launcher.png b/multisrc/overrides/wpmangastream/asurascans/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..e0a3e8840 Binary files /dev/null and b/multisrc/overrides/wpmangastream/asurascans/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/wpmangastream/asurascans/res/mipmap-xxhdpi/ic_launcher.png b/multisrc/overrides/wpmangastream/asurascans/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..2da953a2f Binary files /dev/null and b/multisrc/overrides/wpmangastream/asurascans/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/wpmangastream/asurascans/res/mipmap-xxxhdpi/ic_launcher.png b/multisrc/overrides/wpmangastream/asurascans/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..7516a2dba Binary files /dev/null and b/multisrc/overrides/wpmangastream/asurascans/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/multisrc/overrides/wpmangastream/asurascans/res/web_hi_res_512.png b/multisrc/overrides/wpmangastream/asurascans/res/web_hi_res_512.png new file mode 100644 index 000000000..688ccf4f0 Binary files /dev/null and b/multisrc/overrides/wpmangastream/asurascans/res/web_hi_res_512.png differ diff --git a/multisrc/overrides/wpmangastream/asurascans/src/AsuraScans.kt b/multisrc/overrides/wpmangastream/asurascans/src/AsuraScans.kt new file mode 100644 index 000000000..181b866c9 --- /dev/null +++ b/multisrc/overrides/wpmangastream/asurascans/src/AsuraScans.kt @@ -0,0 +1,18 @@ +package eu.kanade.tachiyomi.extension.en.asurascans + +import eu.kanade.tachiyomi.lib.ratelimit.RateLimitInterceptor +import eu.kanade.tachiyomi.multisrc.wpmangastream.WPMangaStream +import okhttp3.OkHttpClient +import java.util.concurrent.TimeUnit + +class AsuraScans : WPMangaStream("AsuraScans", "https://asurascans.com", "en") { + private val rateLimitInterceptor = RateLimitInterceptor(2) + + override val client: OkHttpClient = network.cloudflareClient.newBuilder() + .connectTimeout(10, TimeUnit.SECONDS) + .readTimeout(30, TimeUnit.SECONDS) + .addNetworkInterceptor(rateLimitInterceptor) + .build() + + override val pageSelector = "div.rdminimal img[loading*=lazy]" +} \ No newline at end of file diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpmangastream/WPMangaStreamGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpmangastream/WPMangaStreamGenerator.kt index b79a1e0be..fc10e085a 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpmangastream/WPMangaStreamGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpmangastream/WPMangaStreamGenerator.kt @@ -12,6 +12,7 @@ class WPMangaStreamGenerator : ThemeSourceGenerator { override val baseVersionCode: Int = 4 override val sources = listOf( + SingleLang("Asura Scans", "https://asurascans.com", "en"), SingleLang("KlanKomik", "https://klankomik.com", "id"), SingleLang("ChiOtaku", "https://chiotaku.com", "id"), SingleLang("MangaShiro", "https://mangashiro.co", "id"),