[manganelo] add 'bookmark' extractor (#8776)

This commit is contained in:
Mike Fährmann
2025-12-31 10:59:32 +01:00
parent 9ff3cc4a8e
commit add9fbc13b
3 changed files with 54 additions and 6 deletions

View File

@@ -5,6 +5,7 @@
# published by the Free Software Foundation.
from gallery_dl.extractor import manganelo
from gallery_dl import exception
__tests__ = (
@@ -70,4 +71,21 @@ __tests__ = (
"#class" : manganelo.ManganeloMangaExtractor,
},
{
"#url" : "https://www.nelomanga.net/bookmark",
"#category": ("manganelo", "nelomanga", "bookmark"),
"#class" : manganelo.ManganeloBookmarkExtractor,
"#pattern" : manganelo.ManganeloMangaExtractor.pattern,
"#auth" : "cookies",
"#count" : 23,
},
{
"#url" : "https://nelomanga.net/bookmark",
"#category": ("manganelo", "nelomanga", "bookmark"),
"#class" : manganelo.ManganeloBookmarkExtractor,
"#auth" : False,
"#exception": exception.AuthRequired,
},
)