5.0
- 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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user