[bluesky] match cbsky.app, bskye.app, bskyx.app and bsyy.app urls

This commit is contained in:
Delphox
2024-11-02 13:04:32 -03:00
committed by GitHub
parent ecc08e35d5
commit 80c7246732
2 changed files with 25 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ from .common import Extractor, Message
from .. import text, util, exception
from ..cache import cache, memcache
BASE_PATTERN = r"(?:https?://)?bsky\.app"
BASE_PATTERN = r"(?:https?://)?c?bs[ky]y[ex]?\.app"
USER_PATTERN = BASE_PATTERN + r"/profile/([^/?#]+)"