[kemonoparty] match beta.kemono.party URLs (#2348)
This commit is contained in:
@@ -14,7 +14,7 @@ from ..cache import cache
|
|||||||
import itertools
|
import itertools
|
||||||
import re
|
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/([^/?#]+)"
|
USER_PATTERN = BASE_PATTERN + r"/([^/?#]+)/user/([^/?#]+)"
|
||||||
|
|
||||||
|
|
||||||
@@ -291,6 +291,7 @@ class KemonopartyPostExtractor(KemonopartyExtractor):
|
|||||||
}),
|
}),
|
||||||
("https://kemono.party/subscribestar/user/alcorart/post/184330"),
|
("https://kemono.party/subscribestar/user/alcorart/post/184330"),
|
||||||
("https://www.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):
|
def __init__(self, match):
|
||||||
|
|||||||
Reference in New Issue
Block a user