Closed GekkoinenGittiAcco closed 2 years ago
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
@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.
does it play slow too? the method you mentioned is also what we are using
Fixed downloading and increased speed in the latest commit. Try to use it now
@RaynardGerraldo By slow, do you mean it is slow for VLC to load or it is slow while streaming (like taking time to load). As I said, it is slower while loading the video (about 2 - 6 seconds, was instant). For 1080P videos, it does lag once a while so I started using 720P and it works fine.
Fixed downloading and increased speed in the latest commit. Try to use it now
downloading still moving at 0.1 % per second for me, but i just tried using aria2c and it speeds it up, not as fast as a couple of days ago tho
I tried downloading from the website and it was like 400kb/s (maybe this is why it lags on 1080P). Now, it is a bit faster around 1mb - 2mb per second. Maybe, this is a problem of the streaming website since there are more people using it.
Please check if PR #290 solves the issues
it started to work for me after doing git clone again, though its kinda laggy.
can anyone help me confirm that streaming is slow?
can anyone help me confirm that streaming is slow?
Slower than usual
It will be like that now... in streaming we can't do anything... But in downloading we should switch to aria2c.. atleast it's download speed is better than curl..
I know it will be adding another program as dependency..
Yea i think because the direct link for the videos that we have right now is a download stream,its streaming at a downloading pace, and btw the vidstreamingcdn link that we used to stream is still there and its fast as ever but havent found a way to access it yet
Yea i think because the direct link for the videos that we have right now is a download stream,its streaming at a downloading pace, and btw the vidstreamingcdn link that we used to stream is still there and its fast as ever but havent found a way to access it yet
can you mention in which anime are you getting vidstreamingcdn.. I want to check it myself..
Yea i think because the direct link for the videos that we have right now is a download stream,its streaming at a downloading pace, and btw the vidstreamingcdn link that we used to stream is still there and its fast as ever but havent found a way to access it yet
can you mention in which anime are you getting vidstreamingcdn.. I want to check it myself..
I used Dragon ball to test that
it stopped to work again my friends
it stopped to work again my friends
Yep, it's being tracked in #560