mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-21 18:22:30 +01:00
merge #6411: [bluesky] match fxbsky.app and vxbsky.app URLs
This commit is contained in:
commit
5ba1280220
@ -13,7 +13,7 @@ from .. import text, util, exception
|
||||
from ..cache import cache, memcache
|
||||
|
||||
BASE_PATTERN = (r"(?:https?://)?"
|
||||
r"(?:(?:www\.)?c?bs[ky]y[ex]?\.app|main\.bsky\.dev)")
|
||||
r"(?:(?:www\.)?(?:c|[fv]x)?bs[ky]y[ex]?\.app|main\.bsky\.dev)")
|
||||
USER_PATTERN = BASE_PATTERN + r"/profile/([^/?#]+)"
|
||||
|
||||
|
||||
|
@ -381,4 +381,16 @@ __tests__ = (
|
||||
"#class" : bluesky.BlueskyPostExtractor,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://fxbsky.app/profile/bsky.app/post/3kh5rarr3gn2n",
|
||||
"#category": ("", "bluesky", "post"),
|
||||
"#class" : bluesky.BlueskyPostExtractor,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://vxbsky.app/profile/bsky.app/post/3kh5rarr3gn2n",
|
||||
"#category": ("", "bluesky", "post"),
|
||||
"#class" : bluesky.BlueskyPostExtractor,
|
||||
},
|
||||
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user