Skip to content

Commit 9312c9a

Browse files
committed
Add Bluesky. Closes #106.
1 parent 09c3b0c commit 9312c9a

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

collection/sites/bluesky.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
attributes:
2+
embedder:
3+
filterChain: []
4+
required: true
5+
url:
6+
filterChain: "urldecode"
7+
required: true
8+
example:
9+
- "https://bsky.app/profile/bsky.app/post/3kkrqzuydho2v"
10+
- "https://bsky.app/profile/bnewbold.net/post/3kxjq2auebs2f"
11+
extract: "#https://(?'embedder'[.\\w]+)/oembed.*?url=(?'url'[\\w%.]+)#"
12+
homepage: "https://bsky.app/"
13+
host: "bsky.app"
14+
iframe:
15+
data-s9e-livepreview-ignore-attrs: style
16+
height: 600
17+
onload: "let c=new MessageChannel;c.port1.onmessage=e=>this.style.height=e.data+'px';this.contentWindow.postMessage('s9e:init','*',[c.port2])"
18+
src: "https://s9e.github.io/iframe/2/bluesky.min.html#<xsl:value-of select=\"@url\"/>#<xsl:value-of select=\"@embedder\"/>"
19+
width: 600
20+
name: "Bluesky"
21+
scrape:
22+
extract: "#https://(?'embedder'[.\\w]+)/oembed.*?url=(?'url'[\\w%.]+)#"
23+
match: "#/profile/[^/]+/post/.#"
24+
source: "https://embed.bsky.app/"
25+
tags: "social"

0 commit comments

Comments
 (0)