cannot reach servers

I just got the same error.
same
Having the same error.
same
I'm getting a 403: Forbidden when trying to hook the video directly to mpv. Seems like it may require an API key now...
OK, so I got the error to go by following Dink4n's QA branch and merging master into qa, this stopped the "Cannot reach servers!" but no luck in mpv playing anything. Am hoping it's as simple as a line of code out of place but if demrich is right I'm SOL.
Could search episodes, used download command but then got this:
note: maybe the function on lines 332-380
Got the same error .
curl: (3) URL using bad/illegal format or missing Url
phew, i thought i am the only one who have this error
i got the same error xd
This might be potentially broken by #209 because the referrer is missing. However, I am not very sure.
https://github.com/pystardust/ani-cli/blob/97596b56ac9bfbd1b3246cf7ef90b3293f35e60b/ani-cli#L362
By using the download url as referrer and adding --http-referrer=$referrer, it may fix this issue. Again, I don't know how ani-cli works at the moment.
like @HenryQuan said, yes, it needs to have --referer again to work, but it is now opening the videos really slow, because the current link available in gogoanime download page is a download stream https://gogo-cdn.com/download.php?url=aHR0cHM6LyAdeqwrwedffryretgsdFrsftrsvfsfsr9jZG4zNCURASDGHUSRFSJGYfdsffsderFStewthsfSFtrftesdf5hbmljZG4uc3RyZWFtL3VzZXIxMzQyLzFjN2QzMjI2NDc0Yjg2ODQ5ZTcxY2Y4NzI4YmNlOGFmL0VQLjEyLnYwLjE2NDEyMjYwODIuMzYwcC5tcDQ/dG9rZW49S1dkZm50UFdKMFJYRTJKZE5pQ3VMdyZleHBpcmVzPTE2NDEyNzk3NjAmaWQ9MTc3NTUz
The actual video link is hidden in this download stream,which if accessed will return 403 forbidden https://cdn34.anicdn.stream/user1342/1c7d3226474b86849e71cf8728bce8af/EP.12.v0.1641226082.360p.mp4?token=RRtgLqhiJOLDtBEXEn-0Uw&expires=1641278260&id=177553 , i tried using a referer, it still returns 403 forbidden
Fixed in the latest commit. Can you try to use it now?
Fixed in the latest commit. Can you try to use it now?
its playing really slow for me, how about you?
download is not working.
same here, download doesnt work properly
Fixed in the latest commit. Can you try to use it now?
its playing really slow for me, how about you?
Same here. It is really slow.
adding -e "$dpage_link" to the curl command fixes downloads. Really slow though even for small file like isekai quartet.
curl -L -# -C - -e "$dpage_link" "$video_url" -o "${anime_id}-${episode}.mp4" &&
@RaynardGerraldo I am using a different gogoanime fork and it works for me. This is my implementation. I am not so sure how ani-cli is getting the link. I am doing a simple replace of the streaming link to get the download link and then, I parse links from it. However, it is a little bit slower now. It was almost instant when it is streaming. Now, it takes a few seconds before it could load the video.
adding
-e "$dpage_link"to the curl command fixes downloads. Really slow though even for small file like isekai quartet.
curl -L -# -C - -e "$dpage_link" "$video_url" -o "${anime_id}-${episode}.mp4" &&
-e "$dpage_link"
this is the same approach as playing a video, and both are moving really slowly, they might have did something to limit the bandwidth