1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-23 03:02:50 +01:00

[kemonoparty] match URLs with www subdomain

This commit is contained in:
Mike Fährmann 2021-11-26 17:03:13 +01:00
parent addb72e1bb
commit e298882acc
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -14,7 +14,7 @@ from ..cache import cache
import itertools
import re
BASE_PATTERN = r"(?:https?://)?kemono\.party"
BASE_PATTERN = r"(?:https?://)?(?:www\.)?kemono\.party"
USER_PATTERN = BASE_PATTERN + r"/([^/?#]+)/user/([^/?#]+)"
@ -273,6 +273,7 @@ class KemonopartyPostExtractor(KemonopartyExtractor):
}]},
}),
("https://kemono.party/subscribestar/user/alcorart/post/184330"),
("https://www.kemono.party/subscribestar/user/alcorart/post/184330"),
)
def __init__(self, match):