CosmicPredator / anikimiapi

A Simple, LightWeight, Statically-Typed Python3 API wrapper for GogoAnime.
https://pypi.org/project/anikimiapi/
GNU General Public License v3.0
18 stars 8 forks source link

Always getting 'InvalidAnimeIdError' error #14

Open Nova-69 opened 2 years ago

Nova-69 commented 2 years ago

Trying to get a link to any anime, including using the example code, results in an InvalidAnimeIdError. My code is as follows:

results = anikimi.search_anime(query=search)
        for i in results:
            animeid = i.animeid

        anime_link = anikimi.get_episode_link_advanced(animeid=animeid, episode_num=1)

        await ctx.send(anime_link.link_720p)
        await ctx.send(anime_link.link_1080p)

Error is as follows:

Command raised an exception: InvalidAnimeIdError: Invalid animeid or episode_num given

This API looks really easy to use, would love to be able to get it working.

anrayliu commented 2 years ago

I am having this problem on get_details() as well.

Edit: The problem persists on v0.1.3

ryan-k8 commented 2 years ago

this was most likely fixed by my latest PR which is not merged yet by the author #12 you can find it here