[bluesky] support 'main.bsky.dev' URLs (#4438)

This commit is contained in:
Mike Fährmann
2024-11-02 15:32:47 +01:00
parent b92edb4614
commit 99fe2b1f55
2 changed files with 11 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?://)?(?:(?:www\.)?bsky\.app|main\.bsky\.dev)"
USER_PATTERN = BASE_PATTERN + r"/profile/([^/?#]+)"