-
-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server Query on Get Streaming Links return "cheerio.load() expects a string" when using HD server. #31
Comments
Well they have just named the servers as |
@evnx32, I hope that clears the issue. If there's anything more, do reopen this issue. |
😂 It's all hianime man. If they have it then we have it. I am sorry for those hours you spent building that feature. |
Nah obviously don't need to be sorry! Sorry for sounding so rude. Nevermind, my code was wrong, but it works! |
the thing is that older animes may not have hd-1 or hd-2 servers as they are relatively new |
I just checked an old anime from 2003 and it has the hd-1 and hd-2 servers. |
Yeah that is most likely |
Describe the bug
When i adding 'server' query with hd-1 or hd-2, it will return 'cheerio.load() expects a string'.
Expected behavior
Example Links
https://api-aniwatch.onrender.com/anime/episode-srcs?id=frieren-beyond-journeys-end-18542%3Fep%3D107257&server=hd-1
what i expected is
{
"tracks": [
{
"file": "https://s.megastatics.com/subtitle/9b258ea774bfd06f85f682f4fa38128e/eng-2.vtt",
"label": "English",
"kind": "captions",
"default": true
},
],
"intro": {
"start": 0,
"end": 89
},
"outro": {
"start": 1460,
"end": 1549
},
"sources": [
{
"url": "someurl",
"type": "hls"
}
],
"anilistID": 154587,
"malID": 52991
}
Actual behavior
But what i got is
{
"status": 500,
"message": "cheerio.load() expects a string"
}
Additional context
But when i'm using 'vidstreaming' server, it's workin fine. Btw thanks for your works, i really appreciate it.
The text was updated successfully, but these errors were encountered: