- finished writing tests for all services
- fixed douyin support
- fixed tiktok picker that was broken by previous commit
- temporarily removed douyin photos from list of supported services
- fixed support for "user view" vk clip links
- slightly improved the testing script
This commit is contained in:
wukko
2023-02-13 19:44:58 +06:00
parent 0e7a281366
commit 75a85972aa
10 changed files with 784 additions and 296 deletions

View File

@@ -64,6 +64,7 @@ export function msToTime(d) {
export function cleanURL(url, host) {
let forbiddenChars = ['}', '{', '(', ')', '\\', '%', '>', '<', '^', '*', '!', '~', ';', ':', ',', '`', '[', ']', '#', '$', '"', "'", "@"]
switch(host) {
case "vk":
case "youtube":
url = url.split('&')[0];
break;