1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 02:32:33 +01:00

Adjust model/site regex

This commit is contained in:
missionfloyd 2024-09-30 14:02:33 -06:00
parent 6e67742748
commit 3b1c630c48

View File

@ -50,7 +50,7 @@ class GirlsreleasedSetExtractor(Extractor):
class GirlsreleasedModelExtractor(GirlsreleasedSetExtractor):
"""Extractor for girlsreleased models"""
subcategory = "model"
pattern = BASE_PATTERN + r"/model/(\d+(?:/?.+)?)"
pattern = BASE_PATTERN + r"/model/(\d+/?.*)"
example = "https://girlsreleased.com/model/12345/MODEL"
def _pagination(self):
@ -73,5 +73,5 @@ class GirlsreleasedModelExtractor(GirlsreleasedSetExtractor):
class GirlsreleasedSiteExtractor(GirlsreleasedModelExtractor):
"""Extractor for girlsreleased sites"""
subcategory = "site"
pattern = BASE_PATTERN + r"/site/(.+(?:/model/\d+(?:/?.+)?)?)"
pattern = BASE_PATTERN + r"/site/(.+(?:/model/\d+/?.*)?)"
example = "https://girlsreleased.com/site/SITE"