diff --git a/gallery_dl/extractor/redhawkscans.py b/gallery_dl/extractor/redhawkscans.py index 5b0a857e..1e87cf4c 100644 --- a/gallery_dl/extractor/redhawkscans.py +++ b/gallery_dl/extractor/redhawkscans.py @@ -20,7 +20,7 @@ info = { "directory": ["{category}", "{manga}", "c{chapter:>03}{chapter-minor} - {title}"], "filename": "{manga}_c{chapter:>03}{chapter-minor}_{page:>03}.{extension}", "pattern": [ - r"(?:https?://)?manga\.redhawkscans\.com/reader/read/(.+)(?:/page)?.*", + r"(?:https?://)?manga\.redhawkscans\.com/reader/read/(.+)(?:/page)?", ], } @@ -30,6 +30,7 @@ class RedHawkScansExtractor(Extractor): def __init__(self, match): Extractor.__init__(self) + self.category = info["category"] self.part = match.group(1) def items(self): @@ -52,13 +53,13 @@ class RedHawkScansExtractor(Extractor): _ , pos = text.extract(page, '