servicesConfig: set up subdomains

This commit is contained in:
dumbmoron 2023-12-14 22:48:38 +00:00
parent c458423e03
commit 3056624b3d
No known key found for this signature in database
GPG key ID: C59997C76C6A8E5F

View file

@ -24,22 +24,26 @@
"youtube": { "youtube": {
"alias": "youtube videos, shorts & music", "alias": "youtube videos, shorts & music",
"patterns": ["watch?v=:id", "embed/:id", "watch/:id"], "patterns": ["watch?v=:id", "embed/:id", "watch/:id"],
"subdomains": ["music"],
"bestAudio": "opus", "bestAudio": "opus",
"enabled": true "enabled": true
}, },
"tumblr": { "tumblr": {
"patterns": ["post/:id", "blog/view/:user/:id", ":user/:id", ":user/:id/:trackingId"], "patterns": ["post/:id", "blog/view/:user/:id", ":user/:id", ":user/:id/:trackingId"],
"subdomains": "*",
"enabled": true "enabled": true
}, },
"tiktok": { "tiktok": {
"alias": "tiktok videos, photos & audio", "alias": "tiktok videos, photos & audio",
"patterns": [":user/video/:postId", ":id", "t/:id"], "patterns": [":user/video/:postId", ":id", "t/:id"],
"subdomains": ["vt", "vm"],
"audioFormats": ["best", "m4a", "mp3"], "audioFormats": ["best", "m4a", "mp3"],
"enabled": true "enabled": true
}, },
"douyin": { "douyin": {
"alias": "douyin videos & audio", "alias": "douyin videos & audio",
"patterns": ["video/:postId", ":id"], "patterns": ["video/:postId", ":id"],
"subdomains": ["v"],
"enabled": false "enabled": false
}, },
"vimeo": { "vimeo": {
@ -49,6 +53,7 @@
}, },
"soundcloud": { "soundcloud": {
"patterns": [":author/:song/s-:accessKey", ":author/:song", ":shortLink"], "patterns": [":author/:song/s-:accessKey", ":author/:song", ":shortLink"],
"subdomains": ["on"],
"bestAudio": "opus", "bestAudio": "opus",
"enabled": true "enabled": true
}, },