diff --git a/manga/src/all/batoto/batoto.dart b/manga/src/all/batoto/batoto.dart index f0e47658..881c04d6 100644 --- a/manga/src/all/batoto/batoto.dart +++ b/manga/src/all/batoto/batoto.dart @@ -184,8 +184,11 @@ class Batoto extends MProvider { List pagesUrl = []; for (int i = 0; i < imageUrls.length; i++) { String imgUrl = imageUrls[i]; - String imgAcc = imgAccList[i]; - pagesUrl.add("$imgUrl?$imgAcc"); + String imgAcc = ""; + if (imgAccList.length >= (i + 1)) { + imgAcc = "?${imgAccList[i]}"; + } + pagesUrl.add("$imgUrl$imgAcc"); } return pagesUrl; diff --git a/manga/src/all/batoto/sources.dart b/manga/src/all/batoto/sources.dart index e4164119..cd2757e1 100644 --- a/manga/src/all/batoto/sources.dart +++ b/manga/src/all/batoto/sources.dart @@ -1,6 +1,6 @@ import '../../../../model/source.dart'; -const _batotoVersion = "0.0.65"; +const _batotoVersion = "0.0.7"; const _batotoSourceCodeUrl = "https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/$branchName/manga/src/all/batoto/batoto.dart";