I don't know if others has the same problem or not but here is how to fix it.
if you're someone who is working on this project please apply this fix to the codebase.
hoped this is useful >.<
PS: It's probably not the best way to fix this problem, if someone got a better idea you can point it out.
Hello, I tried to stream some animes with animepahe as provider and got the following error.
so I did some digging and found out that:
in searcher.py line 64 for some reasons
session.get()
returns html respond instead of expected JSON respond.and since the respond is in html format,
animepahe_results.json()
would throw an error because it can't parse html to Python object (dictionary).what I did to fix this issue is attach
header
indicates the response typethis fix the problem for me.
I don't know if others has the same problem or not but here is how to fix it. if you're someone who is working on this project please apply this fix to the codebase.
hoped this is useful >.<
PS: It's probably not the best way to fix this problem, if someone got a better idea you can point it out.