From 99298ebd12539c4dfaed8c3afb17c7cc6f254e34 Mon Sep 17 00:00:00 2001 From: Eshlender <35057681+e-shl@users.noreply.github.com> Date: Thu, 6 Jun 2024 11:30:56 +0500 Subject: [PATCH] [RU]Senkuro fix many request, low rateLimit (#3405) * [RU]Senkuro fix many request, low rateLimit * https://github.com/keiyoushi/extensions-source --- lib-multisrc/senkuro/build.gradle.kts | 2 +- .../src/eu/kanade/tachiyomi/multisrc/senkuro/Senkuro.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib-multisrc/senkuro/build.gradle.kts b/lib-multisrc/senkuro/build.gradle.kts index 9dce2478c..e2f11e9c1 100644 --- a/lib-multisrc/senkuro/build.gradle.kts +++ b/lib-multisrc/senkuro/build.gradle.kts @@ -2,4 +2,4 @@ plugins { id("lib-multisrc") } -baseVersionCode = 2 +baseVersionCode = 3 diff --git a/lib-multisrc/senkuro/src/eu/kanade/tachiyomi/multisrc/senkuro/Senkuro.kt b/lib-multisrc/senkuro/src/eu/kanade/tachiyomi/multisrc/senkuro/Senkuro.kt index 0572f43b3..12ca9c5ce 100644 --- a/lib-multisrc/senkuro/src/eu/kanade/tachiyomi/multisrc/senkuro/Senkuro.kt +++ b/lib-multisrc/senkuro/src/eu/kanade/tachiyomi/multisrc/senkuro/Senkuro.kt @@ -36,12 +36,12 @@ abstract class Senkuro( override val supportsLatest = false override fun headersBuilder(): Headers.Builder = Headers.Builder() - .add("User-Agent", "Tachiyomi (+https://github.com/tachiyomiorg/tachiyomi)") + .add("User-Agent", "Tachiyomi (+https://github.com/keiyoushi/extensions-source)") .add("Content-Type", "application/json") override val client: OkHttpClient = network.client.newBuilder() - .rateLimit(5) + .rateLimit(3) .build() private inline fun T.toJsonRequestBody(): RequestBody =