mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-17 22:00:00 +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": {
|
||||
"alias": "youtube videos, shorts & music",
|
||||
"patterns": ["watch?v=:id", "embed/:id", "watch/:id"],
|
||||
"subdomains": ["music"],
|
||||
"bestAudio": "opus",
|
||||
"enabled": true
|
||||
},
|
||||
"tumblr": {
|
||||
"patterns": ["post/:id", "blog/view/:user/:id", ":user/:id", ":user/:id/:trackingId"],
|
||||
"subdomains": "*",
|
||||
"enabled": true
|
||||
},
|
||||
"tiktok": {
|
||||
"alias": "tiktok videos, photos & audio",
|
||||
"patterns": [":user/video/:postId", ":id", "t/:id"],
|
||||
"subdomains": ["vt", "vm"],
|
||||
"audioFormats": ["best", "m4a", "mp3"],
|
||||
"enabled": true
|
||||
},
|
||||
"douyin": {
|
||||
"alias": "douyin videos & audio",
|
||||
"patterns": ["video/:postId", ":id"],
|
||||
"subdomains": ["v"],
|
||||
"enabled": false
|
||||
},
|
||||
"vimeo": {
|
||||
|
@ -49,6 +53,7 @@
|
|||
},
|
||||
"soundcloud": {
|
||||
"patterns": [":author/:song/s-:accessKey", ":author/:song", ":shortLink"],
|
||||
"subdomains": ["on"],
|
||||
"bestAudio": "opus",
|
||||
"enabled": true
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue