-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpatterns.json
More file actions
30 lines (30 loc) · 1.12 KB
/
patterns.json
File metadata and controls
30 lines (30 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[
{
"pattern": "https?:\\/\\/(?:www\\.)?(?:twitter\\.com|x\\.com)\\/([^\\/]+)\\/status\\/(\\d+)(?:\\/photo\\/\\d)?(?:\\?t=.+&s=.+|\\?s=\\d+(?:&t=.+)?)?",
"replacement": "[Twitter](https://fxtwitter.com/$1/status/$2)"
},
{
"pattern": "https?://(?:www\\.)?instagram\\.com/reel/(.+)/(?:\\?igsh=[\\w\\d]+|\\?utm_source=\\w+)?",
"replacement": "[Instagram](https://ddinstagram.com/reel/$1)"
},
{
"pattern": "https://(?:www\\.)?instagram\\.com/p/([a-zA-Z0-9_-]+)(/\\?utm_source=ig_web_copy_link)?",
"replacement": "[Instagram](https://ddinstagram.com/p/$1)"
},
{
"pattern": "https://(?:www\\.|vm\\.)?tiktok\\.com/@([^/]+)/video/(\\d+)",
"replacement": "[TikTok](https://vxtiktok.com/@$1/video/$2)"
},
{
"pattern": "https://vm\\.tiktok\\.com/([A-Za-z0-9]+)",
"replacement": "[TikTok](https://vm.vxtiktok.com/$1)"
},
{
"pattern": "https://(?:www\\.)?pixiv\\.net/(?:en/)?(?:artworks|member_illust)/(\\d+)",
"replacement": "[Pixiv](https://phixiv.net/artworks/$1)"
},
{
"pattern": "https?://(?:www\\.)?(reddit\\.com)/(.*)",
"replacement": "[Reddit](https://rxddit.com/$2)"
}
]