- You should create
config.json
file in the root like this:
{
"YMAuth": {
"uid": 123456789,
"access_token": "ACCESSTOKEN"
},
"targetPlaylist": 1014
}
Get YM token in network tab in DevTools (F12) at: https://music-yandex-bot.ru/
- Run
npm i
. - Copy all files from
ym-api fix/
tonode_modules/ym-api/dist/
. - Start script with
node index