From 62e9d75611b5ea8c501e9dcb2d1d222b1b4c4d4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Tue, 28 Oct 2025 17:02:00 +0100 Subject: [PATCH] [common] fix 'AttributeError' fixes regression introduced in 98d3354575048d5288beb27b078f15a28b55ed6d --- gallery_dl/extractor/common.py | 2 +- gallery_dl/extractor/e621.py | 1 - gallery_dl/extractor/paheal.py | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/gallery_dl/extractor/common.py b/gallery_dl/extractor/common.py index f2c4c78d..bab1ee9d 100644 --- a/gallery_dl/extractor/common.py +++ b/gallery_dl/extractor/common.py @@ -31,6 +31,7 @@ class Extractor(): category = "" subcategory = "" basecategory = "" + basesubcategory = "" categorytransfer = False directory_fmt = ("{category}",) filename_fmt = "{filename}.{extension}" @@ -961,7 +962,6 @@ class AsynchronousMixin(): class BaseExtractor(Extractor): - basesubcategory = "" instances = () def __init__(self, match): diff --git a/gallery_dl/extractor/e621.py b/gallery_dl/extractor/e621.py index 41ff900a..98446a78 100644 --- a/gallery_dl/extractor/e621.py +++ b/gallery_dl/extractor/e621.py @@ -180,7 +180,6 @@ class E621FavoriteExtractor(E621Extractor): class E621FrontendExtractor(Extractor): """Extractor for alternative e621 frontends""" basecategory = "E621" - basesubcategory = "" category = "e621" subcategory = "frontend" pattern = r"(?:https?://)?e621\.(?:cc/\?tags|anthro\.fr/\?q)=([^&#]*)" diff --git a/gallery_dl/extractor/paheal.py b/gallery_dl/extractor/paheal.py index f63f4fe1..c87a69e7 100644 --- a/gallery_dl/extractor/paheal.py +++ b/gallery_dl/extractor/paheal.py @@ -15,7 +15,6 @@ from .. import text, exception class PahealExtractor(Extractor): """Base class for paheal extractors""" basecategory = "shimmie2" - basesubcategory = "" category = "paheal" filename_fmt = "{category}_{id}_{md5}.{extension}" archive_fmt = "{id}"