Skip to content
This repository has been archived by the owner on Dec 9, 2022. It is now read-only.

Always getting 'InvalidAnimeIdError' error #14

Open
Nova-69 opened this issue Dec 29, 2021 · 2 comments
Open

Always getting 'InvalidAnimeIdError' error #14

Nova-69 opened this issue Dec 29, 2021 · 2 comments

Comments

@Nova-69
Copy link

Nova-69 commented Dec 29, 2021

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
Copy link

anrayliu commented Jan 3, 2022

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

Edit: The problem persists on v0.1.3

@ryan-k8
Copy link
Contributor

ryan-k8 commented Jan 10, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants