From a5d007b4cd4c5d4f46992a5ee5ceed0621f2411b Mon Sep 17 00:00:00 2001 From: kodjomoustapha <107993382+kodjodevf@users.noreply.github.com> Date: Wed, 20 Dec 2023 18:29:32 +0100 Subject: [PATCH] Refactor --- manga/src/all/batoto/batoto.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manga/src/all/batoto/batoto.dart b/manga/src/all/batoto/batoto.dart index 0287ba18..2fbb59a5 100644 --- a/manga/src/all/batoto/batoto.dart +++ b/manga/src/all/batoto/batoto.dart @@ -209,8 +209,8 @@ class Batoto extends MProvider { final img = parseHtml(itemHtml).selectFirst("img").getSrc; final url = parseHtml(itemHtml).selectFirst("a").getHref; - images.add(img); - urls.add(url.replaceAll(";", "&")); + images.add(img.replaceAll(";", "&")); + urls.add(url); final title = element.selectFirst("a.item-title").text; names.add(title);