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
Links seem to have been outdated or gogoanime has blocked ani-cli? #139
Comments
I was thinking I was the only one having problems, there might be something to this. Anyone else able to confirm? I'm able to use the site, just ani-cli has problems it seems. |
Yea i am experiencing the same issue when I disabled dumping of output into null. It was working for me the day before
|
Can you guys test it again right now? It's working for me again. |
Yeap working for me now |
No luck for me still |
Unable to watch, it shows the "currently playing" screen, but nothing plays. |
Add these 2 lines to line 123. tmp_url=$(printf '%s' "$video_url" | sed -n -E 's/(.*)\.([0-9]+\.[0-9]+)\.[0-9]+\.m3u8/\1.\2.m3u8/p')
[ -z "$tmp_url" ] || video_url="$tmp_url" |
This work for me :) |
sed magic can help fix anything eh, btw it would be awesome to port this to windows powershell using vlc as a video player |
for sake of an answer to a question that will end up being asked. Remove the old installation from /usr/local/bin. Add the line above ani-cli. do Sudo make. "I know doing things with Sudo is BbBaAAdD". Profit. |
Can confirm Dink4n's lines worked. As what Reaper176 said you can remove the old installation in /usr/local/bin or just add the two lines in but make sure you're using sudo before editing it. The text editor won't save it when you don't sudo. (I tried it without) Then just do |
@Dink4n could you tell me how you fixed it in layman's terms? I don't really know a lot about sed or scrapping links. Thanks! |
adding these 2 lines at 123 did not fix it for me, the terminal side still seems to work but no mpv window opens |
@BluPenDragon Have you tried adding the 2 lines to the ani-cli file on usr/local/bin? That seemed to work for me.
|
thanks that worked |
thanks, it works |
I switched to Linux last month and don't have a clear idea on how to fix this myself, can anyone point me to what I need to read up on to fix this or alternatively does anyone mind typing out a simple tutorial on how to fix this? |
Are you sure you have all the dependencies? They are listed in the readme. Hint: try consulting your package manager |
Also I suggest pinning the issue until the patch is applied to the repository |
After applying @Dink4n fix, when I go to download the videos the videos no longer download with metadata as they previously did. I use Plex to watch the downloaded videos and before, Plex would automatically get the metadata and pull all the info it needed from it like cover art, episode names, voice actors, and other info. But now Plex can not find the metadata. Also, I have noticed that now the download rate was impacted greatly and now takes longer to download then it did before. Is there anything different that this patch does compared to before the patch? Or is it a change on gogoanime's side? |
it's broken again |
Use a text editor. I personally like atom. And add those two lines of code to the corresponding "line number". And then save the file. An example of me doing this was.... in the command line.
|
Search still doesn't work after copying these two lines into code 🤔 |
Broken again! |
Closing this issue as it seems to have been fixed in a subsequent commit. |
I checked the fixes and they seem to be applied but the problem still persists |
@NyllRE it works for me at the moment. Could you make sure the clone you have is up-to date with the main branch? |
Im new to git. I did git pull in ani-cli directory. It says it's already up to date. I had a look at the line 123, and it had the line. However, the video still doesn't show up. |
Didn't you try "sudo make" to rebuild the bin files? |
I did, and it didn't work. (I don't know what sudo make does, but yeah.) |
Did you try to check the ani-cli located by using the "which ani-cli" |
it does say that. Also, I used brew to get all the dependencies. |
Can you access www1.gogoanime.cm trough your web browser? It could have been blocked by your dorm/ISP/county. |
I feel like your ani-cli is calling to an older version that did not get updated. Just a thought that you might want to go through and make sure every trace of it is removed before doing a new get and install. |
I do have access to the website. I can play the video just fine. |
Does running Edit: make sure the file is executable with |
I'm not sure what you mean by "work." I can use the search, select the episode, but it wouldn't play the video. I did chmod +x ani-cli, and it still says it's currently playing the anime, but mpv wouldn't show up. |
and www1.gogoanime.cm is what is on line...6? 7? |
It is on line 8 or 7. can't count:) |
hmmm.....well....all i got for you is to go into /usr/local/bin and remove ani-cli. remove the git of it, re-git it, and re-make it. If that does not work....we throw the bat signal up. |
What I would try is snatching an embedded video link (eg. from Youtube) and try playing that with mpv. I think that's where your problem should be |
something like - mpv "https://youtu.be/Gzvvvnisf5M" |
woo.. I tried to run mpv "https://youtu.be/Gzvvvnisf5M" Exiting... (Errors when loading file) |
yeah...I did all that, and the issue persists. |
Well that might be the probem... Try |
Right. I can play YouTube videos now. |
tl;drTry replacing the Line 280 in 1a1909b
|
is there a way to add a if the website is down a backup / alternate website will be used as base_url? like if gogoanime.cm changed then cni-cli would switch to gogoanime.wiki? i thought
would force ani-cli to pick the latter as base_url |
I'm still relatively new to Github/shell stuff in general so I apologize if this isn't the correct place to put this. I've been having this same issue, and while troubleshooting I noticed something: When I added a quick I also noticed the first post in this thread has the same thing; the URL on the third line ends with To see if this was the problem I replaced the echo statement with a bash replacement construct to replace instances of
And after running |
@gilbustamante This is already fixed in 1a1909b |
I disabled dumping of output into null and got this 404 error on the link generated by ani-cli.
Possibly gogoanime or the site hosting the stream files have set up some extra measures of late?
The text was updated successfully, but these errors were encountered: