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 <chronobserver@disroot.org>

Co-authored-by: arkon <arkon@users.noreply.github.com>
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
This commit is contained in:
poliglesias 2022-04-06 14:40:02 +02:00 committed by GitHub
parent aa9e858dc2
commit 7a66dcf3ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'LectorManga'
pkgNameSuffix = 'es.lectormanga'
extClass = '.LectorManga'
extVersionCode = 22
extVersionCode = 23
isNsfw = true
}

View File

@ -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"