support for rutube, fixes, accommodations for multi lang

This commit is contained in:
wukko
2023-09-16 23:38:07 +06:00
parent 05bb7bcd07
commit e721cf9878
16 changed files with 164 additions and 38 deletions

View File

@@ -50,7 +50,7 @@ export function metadataManager(obj) {
return commands;
}
export function cleanURL(url, host) {
switch(host) {
switch (host) {
case "vk":
url = url.includes('clip') ? url.split('&')[0] : url.split('?')[0];
break;