AnimeOwl.fetchSpotlight this error shows up even after following all the rules I am on linux
npm start
[email protected] start ts-node src/main.ts
Starting server on port 3000... 🚀 Redis not found. Cache disabled. TMDB api key not found. the TMDB meta route may not work. server listening on http://0.0.0.0:3000 {"level":30,"time":1754591855176,"pid":1079996,"hostname":"archlinux","msg":"Server listening at http://0.0.0.0:3000"} Failed to get cookie: TypeError: data.cookiesByDomain..netfree2.cc is not iterable at NetflixMirror.initCookie (/home/sun_god_nika_luffy/api.consumet.org/node_modules/@consumet/extensions/src/providers/movies/netflixmirror.ts:40:48) at processTicksAndRejections (node:internal/process/task_queues:105:5) Error: Something went wrong. Please try again later. at AnimeOwl.fetchSpotlight (/home/sun_god_nika_luffy/api.consumet.org/node_modules/@consumet/extensions/src/providers/anime/animeowl.ts:218:13) at processTicksAndRejections (node:internal/process/task_queues:105:5) at async /home/sun_god_nika_luffy/api.consumet.org/node_modules/@consumet/extensions/src/providers/anime/animeowl.ts:561:18
Same thing here, although the error is a bit different (at the line which says "level: 30" and below).
# npm start
> [email protected] start
> ts-node src/main.ts
Starting server on port 3000... 🚀
Redis not found. Cache disabled.
TMDB api key not found. the TMDB meta route may not work.
{"level":30,"time":1755315413274,"pid":2418,"hostname":"alpine","msg":"Server listening at http://0.0.0.0:3000"}
server listening on http://0.0.0.0:3000
Error: Something went wrong. Please try again later.
at AnimeOwl.fetchSpotlight (/root/api.consumet.org/node_modules/@consumet/extensions/src/providers/anime/animeowl.ts:218:13)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at async /root/api.consumet.org/node_modules/@consumet/extensions/src/providers/anime/animeowl.ts:561:18
The problem is that a failure at one provider makes the entire thing fail to run. I do not care about animeowl, I wanted to test flixhq, but I saw at another issue that it is broken.
comment this out in the animeowl.js file at node module, it is getting executed without being called.
Then try to npm start again.
(async () => { const animeowl = new AnimeOwl(); const search = await animeowl.fetchSpotlight(); const info = await animeowl.fetchAnimeInfo(search.results[0].id); // const sources = await animeowl.fetchEpisodeSources(info.episodes![0].id,StreamingServers.Luffy, SubOrSub.DUB); // console.log(info); })();
@pitsi @BludAdit3220 look at discussion #701, if still not fixed