fixed support for twitter direct video links

This commit is contained in:
wukko 2022-11-15 21:49:50 +06:00
parent 7be2b9766e
commit 5bfdce252a
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
{ {
"name": "cobalt", "name": "cobalt",
"description": "save what you love", "description": "save what you love",
"version": "4.3", "version": "4.3.1",
"author": "wukko", "author": "wukko",
"exports": "./src/cobalt.js", "exports": "./src/cobalt.js",
"type": "module", "type": "module",

View file

@ -13,7 +13,7 @@
}, },
"twitter": { "twitter": {
"alias": "twitter, twitter spaces", "alias": "twitter, twitter spaces",
"patterns": [":user/status/:id", ":user/status/:id/video/1", "i/spaces/:spaceId"], "patterns": [":user/status/:id", ":user/status/:id/video/:v", "i/spaces/:spaceId"],
"enabled": true "enabled": true
}, },
"vk": { "vk": {