Greasy Fork is available in English.

Vk Media Downloader

Скачать музыку, видео с vk.com (ВКонтакте) без использования внешних сервисов

< 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.