mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-18 06:09:58 +00:00
servicesConfig: set up subdomains
This commit is contained in:
parent
c458423e03
commit
3056624b3d
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue