api.consumet.org icon indicating copy to clipboard operation
api.consumet.org copied to clipboard

AnimeOwl.fetchSpotlight this error shows up even after following all the rules I am on linux

Open BludAdit3220 opened this issue 5 months ago • 3 comments

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

BludAdit3220 avatar Aug 07 '25 18:08 BludAdit3220

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.

pitsi avatar Aug 16 '25 03:08 pitsi

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); })();

lawr3nceBill avatar Oct 06 '25 12:10 lawr3nceBill

@pitsi @BludAdit3220 look at discussion #701, if still not fixed

2004durgesh avatar Oct 09 '25 12:10 2004durgesh