You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: $JWT contains access jwt token. See details below.
Original image can be retrieved from DID and CID using com.atproto.sync.getBlob API call. File extension is not available, but can be deduced from returned mime type, or by using good old libmagic.
for the same reason, it may be better to use post url with user DID instead (for potential Source::Extractor::Bluesky.page_url), since otherwise, if the user changes their handle, the url will become bad_id
Are you gonna make a PR? Or that's just info for someone else willing to?
Post page URL regex:
^https://bsky.app/profile/(.+?)/post/(.+)$
(groups: HANDLE, POST_ID)Thumbnail URL regex:
^https://cdn.bsky.app/img/.+?/plain/(.+?)/(.+?)@.*$
(groups: DID, CID)Original Image URL regex:
^https://(?:bsky\.social|.*\.bsky\.network)/xrpc/com\.atproto\.sync\.getBlob\?did=(.*)&cid=(.*)$
(groups: DID, CID)DID
fromHANDLE
can be retrieved using com.atproto.identity.resolveHandle API call.Example:
CID
s from post can be retrieved using app.bsky.feed.getPostThread API call.Example:
Note:
$JWT
contains access jwt token. See details below.Original image can be retrieved from
DID
andCID
using com.atproto.sync.getBlob API call. File extension is not available, but can be deduced from returned mime type, or by using good oldlibmagic
.Example:
Auth token can be retrieved using com.atproto.server.createSession API call. com.atproto.server.refreshSession to refresh expired access tokens.
The text was updated successfully, but these errors were encountered: