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:
wukko
2023-04-29 21:30:59 +06:00
parent 1f40cb9fab
commit 6e097de2db
7 changed files with 38 additions and 16 deletions

View File

@@ -3,7 +3,7 @@ export const testers = {
|| (patternMatch["spaceId"] && patternMatch["spaceId"].length === 13),
"vk": (patternMatch) => (patternMatch["userId"] && patternMatch["videoId"]
&& patternMatch["userId"].length <= 10 && patternMatch["videoId"].length === 9),
&& patternMatch["userId"].length <= 10 && patternMatch["videoId"].length <= 10),
"bilibili": (patternMatch) => (patternMatch["id"] && patternMatch["id"].length <= 12),