From 7a66dcf3ce6b3df284ea98d282c6f4f9514e51fc Mon Sep 17 00:00:00 2001 From: poliglesias <85891256+poliglesias@users.noreply.github.com> Date: Wed, 6 Apr 2022 14:40:02 +0200 Subject: [PATCH] this source has an error that makes to stay charging at page 10 (#11246) * fix ratelimit issue fix ratelimit issue * Update build.gradle * Update src/es/lectormanga/src/eu/kanade/tachiyomi/extension/es/lectormanga/LectorManga.kt Co-authored-by: ObserverOfTime Co-authored-by: arkon Co-authored-by: ObserverOfTime --- src/es/lectormanga/build.gradle | 2 +- .../eu/kanade/tachiyomi/extension/es/lectormanga/LectorManga.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/es/lectormanga/build.gradle b/src/es/lectormanga/build.gradle index 78cbc98e1..d3ea52af5 100755 --- a/src/es/lectormanga/build.gradle +++ b/src/es/lectormanga/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'LectorManga' pkgNameSuffix = 'es.lectormanga' extClass = '.LectorManga' - extVersionCode = 22 + extVersionCode = 23 isNsfw = true } diff --git a/src/es/lectormanga/src/eu/kanade/tachiyomi/extension/es/lectormanga/LectorManga.kt b/src/es/lectormanga/src/eu/kanade/tachiyomi/extension/es/lectormanga/LectorManga.kt index 134a874d3..3151df742 100755 --- a/src/es/lectormanga/src/eu/kanade/tachiyomi/extension/es/lectormanga/LectorManga.kt +++ b/src/es/lectormanga/src/eu/kanade/tachiyomi/extension/es/lectormanga/LectorManga.kt @@ -565,7 +565,7 @@ class LectorManga : ConfigurableSource, ParsedHttpSource() { private const val IMAGE_CDN_RATELIMIT_PREF_SUMMARY = "Este valor afecta la cantidad de solicitudes de red para descargar imágenes. Reducir este valor puede disminuir errores al cargar imagenes, pero la velocidad de descarga será más lenta. Se requiere reiniciar Tachiyomi. \nValor actual: %s" private const val IMAGE_CDN_RATELIMIT_PREF_DEFAULT_VALUE = "10" - private val ENTRIES_ARRAY = (1..10).map { i -> i.toString() }.toTypedArray() + private val ENTRIES_ARRAY = arrayOf("1", "2", "3", "5", "6", "7", "8", "9", "10", "15", "20", "30", "40", "50", "100") const val PREFIX_ID_SEARCH = "id:" const val MANGA_URL_CHUNK = "gotobook"