Vk Media Downloader

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

< Părere la script-ul Vk Media Downloader

Întrebare/comentariu

§
Postat în: 29-09-2019

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;
EisenSteinAutor
§
Postat în: 30-09-2019

Fixed, thanks see v2.1.25

Postează un raspuns

Autentifică-te pentru a posta un răspuns.