Egsagon / nekosama

API for the Neko Sama anime website.
MIT License
2 stars 0 forks source link

IndexError: list index out of range #2

Closed InvisibleMalik closed 1 year ago

InvisibleMalik commented 1 year ago

hey developer! it was a great job done by you, working fine untill 2 days ago. suddenly showing this error while running main.py, please fix it ASAP.

thanks Output of the code:- "> Enter query or URL: https://neko-sama.fr/anime/info/19196-ousama-ranking-yuuki-no-takarabako_vostfr Selected anime: Ousama Ranking: Yuuki no Takarabako VOSTFR

Set range start (default=0): 0 Set range end (default=-1): 6 Set path (default=tkinter): tkinter Creating path tkinter Set request timeout (default=5): 5 Set backend (default=ffmpeg): ffmpeg Downloading 6 episodes:

    1. ousama-ranking-yuuki-no-takarabako-01
    1. ousama-ranking-yuuki-no-takarabako-02
    1. ousama-ranking-yuuki-no-takarabako-03
    1. ousama-ranking-yuuki-no-takarabako-04
    1. ousama-ranking-yuuki-no-takarabako-05
    1. ousama-ranking-yuuki-no-takarabako-06 Download ready. Press enter to continue.

=> Starting download!

Egsagon commented 1 year ago

@InvisibleMalik Hi!

Thanks for pointing out this bug! I guess it was due to an update on the website, they might have changed the way they obfusc the json file containing the M3U URL.

Anyway, this should be fixed new with https://github.com/Egsagon/neko-sama-api/commit/7a5424f56848905ece39f0811acaaaaf3c31c0c2.

Egsagon commented 1 year ago

Also closing this.