From 32d2e686c2c0425310e9c8119dad599f02795c36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Thu, 5 Sep 2024 17:47:38 +0200 Subject: [PATCH] [batoto] return 'chapter_url' as string (#5562) don't try to parse it as integer --- gallery_dl/extractor/batoto.py | 3 +-- test/results/batoto.py | 8 ++++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/gallery_dl/extractor/batoto.py b/gallery_dl/extractor/batoto.py index 09bdf1a5..786acd9f 100644 --- a/gallery_dl/extractor/batoto.py +++ b/gallery_dl/extractor/batoto.py @@ -65,8 +65,7 @@ class BatotoChapterExtractor(BatotoBase, ChapterExtractor): return { "manga" : text.unescape(manga), "manga_id" : text.parse_int(manga_id), - "chapter_url" : text.parse_int(extr( - self.chapter_id + "-ch_", '"')), + "chapter_url" : extr(self.chapter_id + "-ch_", '"'), "title" : text.unescape(text.remove_html(extr( "selected>", "