diff --git a/gallery_dl/extractor/manganelo.py b/gallery_dl/extractor/manganelo.py
index 6b68b83d..3ff51bc0 100644
--- a/gallery_dl/extractor/manganelo.py
+++ b/gallery_dl/extractor/manganelo.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# Copyright 2020 Jake Mannens
-# Copyright 2021-2025 Mike Fährmann
+# Copyright 2021-2026 Mike Fährmann
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
@@ -96,34 +96,36 @@ class ManganeloMangaExtractor(ManganeloExtractor, MangaExtractor):
def chapters(self, page):
extr = text.extract_from(page)
- manga = text.unescape(extr("
", "<"))
- author = text.remove_html(extr("
Author(s) :", ""))
- status = extr("Status :", "<").strip()
- update = self.parse_datetime(extr(
- "Last updated :", "<").strip(), "%b-%d-%Y %I:%M:%S %p")
- tags = text.split_html(extr(">Genres :", ""))[::2]
+ url = extr('property="og:url" content="', '"')
+ slug = url[url.rfind("/")+1:]
+
+ info = {
+ "manga" : text.unescape(extr("", "<")),
+ "manga_url" : url,
+ "manga_slug": slug,
+ "author": text.remove_html(extr("
Author(s) :", "")),
+ "status": extr("Status :", "<").strip(),
+ "date_updated": self.parse_datetime(extr(
+ "Last updated :", "<").strip(), "%b-%d-%Y %I:%M:%S %p"),
+ "tags" : text.split_html(extr(">Genres :", ""))[::2],
+ "lang" : "en",
+ }
+ info["tags"].sort()
+
+ base = url + "/"
+ url = f"{self.root}/api/manga/{slug}/chapters?limit=-1"
results = []
- for chapter in text.extract_iter(page, '', '
'):
- url, pos = text.extract(chapter, '', '', pos)
- date, pos = text.extract(chapter, '