Kylart / MalScraper

Scrape everything you can from MyAnimeList.net
MIT License
177 stars 49 forks source link

Bug #53

Closed folliejester closed 3 years ago

folliejester commented 3 years ago

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)

Kylart commented 3 years ago

I'd need more information on what code you ran to have this error.

Sazzo commented 3 years ago

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.

folliejester commented 3 years ago

const name = "gakkou gurashi" Try it, it'll return an url error.

Gabb-c commented 3 years ago

Yup . . . image image

Kylart commented 3 years ago

This is fixed and deployed in v2.11.2.

Thanks for the bug report!