[kemonoparty] match beta.kemono.party URLs (#2348)

This commit is contained in:
Mike Fährmann
2022-03-01 03:02:30 +01:00
parent 4ea9157d51
commit 92c492dc09

View File

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