[shimmie2] update base URL pattern

to match new giantessbooru URLs
This commit is contained in:
Mike Fährmann
2023-08-03 13:34:48 +02:00
parent 9d67655397
commit 136283d402

View File

@@ -88,7 +88,7 @@ INSTANCES = {
}, },
} }
BASE_PATTERN = Shimmie2Extractor.update(INSTANCES) + r"/(?:index\.php\?q=)?" BASE_PATTERN = Shimmie2Extractor.update(INSTANCES) + r"/(?:index\.php\?q=/?)?"
class Shimmie2TagExtractor(Shimmie2Extractor): class Shimmie2TagExtractor(Shimmie2Extractor):
@@ -296,6 +296,7 @@ class Shimmie2PostExtractor(Shimmie2Extractor):
"width": 459, "width": 459,
}, },
}), }),
("https://giantessbooru.com/index.php?q=/post/view/41"),
) )
def __init__(self, match): def __init__(self, match):