pystardust / ani-cli

A cli tool to browse and play anime
GNU General Public License v3.0
7.68k stars 538 forks source link

Stopped working all of a sudden #19

Closed LucienReyes closed 2 years ago

LucienReyes commented 3 years ago

Scrapes and gives me options to choose from. After I choose the episode numbers, it says "Currently playing", but nothing else happens. The internet usage during this time is zero. Only spikes up during "Getting data for episode"

Update: I tried downloading an episode and the below text was the output

$ anime -d
Search Anime: dr. stone
[1] dr-stone
[2] dr-stone-dub
[3] dr-stone-stone-wars
[4] dr-stone-stone-wars-dub
[5] dr-stone-stone-wars-kaisen-zenya-special-eizou
Enter number: 2
Range of episodes can be specified: start_number end_number
Choose episode [1-24]: 1
Getting data for episode 1
Downloading episode 1 ...

curl: (3) URL using bad/illegal format or missing URL
Download failed episode: 001
Dink4n commented 3 years ago

Mine isn't working either. There is CAPTCHA now

sgtxd commented 3 years ago

If that's the case then i guess we'll have to scrape from a different website then

pystardust commented 3 years ago

Suggest sites that have download feature

pystardust commented 3 years ago

9anime.vip looks like a good candidate

LucienReyes commented 3 years ago

By the way, lemme just say. I absolutely what you guys have done, and pystartdust's ytfzf project is actually a part of my daily life. Along with this one. Started watching anime with this :) Thankful, people.

sgtxd commented 3 years ago

9anime.vip looks like a good candidate

kiss-anime.ws also seems pretty good

Dink4n commented 3 years ago

Suggest sites that have download feature

maybe picotube.online

pystardust commented 3 years ago

https://github.com/pystardust/ani-cli/commit/b8c033dc72ee5b795225444062dc8340c2632569 Implemented 9anim.vip Its functional but needs a lot more work

Dink4n commented 3 years ago

The videos are being downloaded from vidstreaming.io. We only need the anime id from the url. I tried a hack and it's working for me

sed -n -E '
/^[[:space:]]*<li class="dowloads">/{
s_.*href="https://streamani.net/([^&]*).*_https://vidstreaming.io/\1_p
q
}'
pystardust commented 3 years ago

@Dink4n Is this from the download page? Which ID are you talking about the episode id in the current script?

fossimprove commented 3 years ago

Check this site out, it has multiple sites official links, basically an index. But Nice work pystar! Thank you very much!

My take on sites scraping suggestion would be 4anime.to | Shiro.is | Zoro.to (has external subs) | AnimeTwist Try out the sites from that Index

Dink4n commented 3 years ago

Is this from the download page? Which ID are you talking about the episode id in the current script?

It's from the old implementation, For example instead of https://streamani.net/download?id=NzAxNTk=&typesub=Gogoanime-SUB&title=One+Punch+Man+Episode+12 we can extract the ID id=NzAxNTk= and directly go to the download page https://vidstreaming.io/download?id=NzAxNTk=

But current implementation seems to have better quality

Albonycal commented 3 years ago

9Anime's catalog is less compared to gogoanime

Albonycal commented 3 years ago

So what are we going to do?

Dink4n commented 3 years ago

I fixed the old ani-cli implementation. This is the fork ani-cli.