mirror of
https://github.com/ilyhalight/voice-over-translation.git
synced 2026-10-13 13:10:02 +00:00
added vk clips support
This commit is contained in:
parent
0e6eb330fb
commit
0885f43f98
1 changed files with 15 additions and 8 deletions
|
|
@ -11,14 +11,14 @@ const sites = () => {
|
|||
additionalData: "mobile",
|
||||
host: "youtube",
|
||||
url: "https://youtu.be/",
|
||||
match: /^m.youtube(-nocookie)?.com$/,
|
||||
match: /^m.youtube.com$/,
|
||||
selector: "shorts-video #player",
|
||||
},
|
||||
{
|
||||
additionalData: "mobile",
|
||||
host: "youtube",
|
||||
url: "https://youtu.be/",
|
||||
match: /^m.youtube(-nocookie)?.com$/,
|
||||
match: /^m.youtube.com$/,
|
||||
selector: ".player-container",
|
||||
},
|
||||
{
|
||||
|
|
@ -78,6 +78,13 @@ const sites = () => {
|
|||
selector: "vk-video-player",
|
||||
shadowRoot: true,
|
||||
},
|
||||
{
|
||||
additionalData: "clips",
|
||||
host: "vk",
|
||||
url: "https://vk.com/video?z=",
|
||||
match: /^(www.|m.)?vk.(com|ru)$/,
|
||||
selector: 'div[data-testid="clipcontainer-video"]',
|
||||
},
|
||||
{
|
||||
host: "vk",
|
||||
url: "https://vk.com/video?z=",
|
||||
|
|
@ -109,12 +116,12 @@ const sites = () => {
|
|||
match: /^9gag.com$/,
|
||||
selector: ".video-post",
|
||||
},
|
||||
{
|
||||
host: "coub",
|
||||
url: "https://coub.com/view/",
|
||||
match: /^coub.com$/,
|
||||
selector: ".viewer__player",
|
||||
},
|
||||
// {
|
||||
// host: "coub",
|
||||
// url: "https://coub.com/view/",
|
||||
// match: /^coub.com$/,
|
||||
// selector: ".viewer__player",
|
||||
// },
|
||||
{
|
||||
host: "bitchute",
|
||||
url: "https://www.bitchute.com/video/",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue