1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-26 12:42:29 +01:00

[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
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

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):
@ -296,6 +296,7 @@ class Shimmie2PostExtractor(Shimmie2Extractor):
"width": 459,
},
}),
("https://giantessbooru.com/index.php?q=/post/view/41"),
)
def __init__(self, match):