Closed folliejester closed 3 years ago
I'd need more information on what code you ran to have this error.
The error is happening to me when I run this code:
const malAnime = await mal.getInfoFromName(name)
I hope this helps, it happens sometimes and is very annoying.
const name = "gakkou gurashi" Try it, it'll return an url error.
Yup . . .
This is fixed and deployed in v2.11.2.
Thanks for the bug report!
TypeError: Cannot read property 'url' of undefined at C:\Users\7thghoul\node_modules\mal-scraper\src\info.js:222:33 at processTicksAndRejections (internal/process/task_queues.js:97:5)