5.4.7: added support for ancient vk videos & salt improvements
- now you can download 240p hardbass videos from 2008! - implemented updated stream salt and ip salt properly
This commit is contained in:
@@ -65,6 +65,8 @@ export function cleanURL(url, host) {
|
||||
let forbiddenChars = ['}', '{', '(', ')', '\\', '%', '>', '<', '^', '*', '!', '~', ';', ':', ',', '`', '[', ']', '#', '$', '"', "'", "@"]
|
||||
switch(host) {
|
||||
case "vk":
|
||||
url = url.includes('clip') ? url.split('&')[0] : url.split('?')[0];
|
||||
break;
|
||||
case "youtube":
|
||||
url = url.split('&')[0];
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user