Vk Media Downloader

Download music, video from vk.com (Vkontakte) without any external service

< Feedback on Vk Media Downloader

Question/comment

§
Posted: 2019-09-29

Some Fixes

"ccccccccccccccccc1\/\/ccccccccccccccccc2\/\/\/ccccccccccccccccc3\/ccccccccccccccccc4", -- this what you expect now

But, sometimes field #13 has:
"ccccccccccccccccc1/ccccccccccccccccc2/ccccccccccccccccc3/ccccccccccccccccc4//ccccccccccccccccc5/ccccccccccccccccc6",

id suffix in the first case: ccccccccccccccccc2_ccccccccccccccccc3
id suffix in the second case: ccccccccccccccccc4_ccccccccccccccccc5


Fix:

const match = audio[13].match(/[0-9a-z]+/g);
return id + '_' + match.slice(-3,-1).join('_');

This will fix issue:  loading.... stuck message.

Also consider:

const USER_AGENT = navigator.userAgent;
EisenSteinAuthor
§
Posted: 2019-09-30

Fixed, thanks see v2.1.25

Post reply

Sign in to post a reply.