anime-dl / anime-downloader

A simple but powerful anime downloader and streamer.
The Unlicense
1.92k stars 218 forks source link

I am getting this error when i try to download. #5

Closed KashTag closed 6 years ago

KashTag commented 6 years ago

Command I had entered: anime dl --episodes 78:102 --download-dir D:\Harsh http://kissanime.ru/Anime/Fairy-Tail-2014-Dub

image

vn-ki commented 6 years ago

I have released a bug fix version. Can you please try it out and report back?

pip install -U anime-downloader[cloudflare]

You have to install with cloudflare support if you want kissanime to be supported. If clouflare is not available, it will just search using that url.

I would suggest using 9anime, because it would be faster and is more tested. (Search is available using 9anime)

KashTag commented 6 years ago

Okay so this was weird. I uninstalled the normal one with this cloudfare supported one. After installing it gave a weird message saying anime-downloader 2.4.1 didn't support cloudfare even though i had pasted the exact same code. Nevertheless I tried downloading through 9anime but it gave another error saying 'No connection adapters were found for [URL]'. So I instead tried using KissAnime and well instead of using that link it showed me a bunch of different anime and movies(though all of them were related to the anime whose link i had originally tried to search..in this case Fairy Tail). I chose the one I wanted. Another thing is that all these options were definitely from 9anime( Kissanime calls it Fairy Tail 2014 while 9anime calls it Fairy Tail Series 2 or something and i got the latter as an option). And it worked. Still it's a bummer it didn't use KissAnime since 9anime(which I'm guessing uses playercdn or something) has like 1.5x bigger video file sizes for the exact same quality as compared to KissAnime(which uses RapidVideo). TL;DR - Not working when directly tried 9anime but when trying Kissanime it instead uses 9anime. Sorry for the long read. Thanks for all the effort you've made trying to make this but the bigger file sizes of 9anime can be a real downer, especially when downloading whole anime seasons. I guess you did help me resolve my issue of being unable to download, even if it's only through 9 anime. Thanks again.

vn-ki commented 6 years ago

Okay. So yeah, this was indeed weird. Can you paste the traceback or the error you received when trying to download directly from 9anime? Also use -ll DEBUG argument while you are at it.

BTW, this tool downloads uses rapidvideo servers for both 9anime and kissanime.

Also I know this is too much to ask, but can you run the following commands and paste their results?

anime dl http://kissanime.ru/Anime/Kochin-Pa --url -ll DEBUG
anime dl https://www5.9anime.is/watch/steinsgate.1rx --url -ll DEBUG
KashTag commented 6 years ago

image

This is what I get from trying to download directly via 9anime. Sorry I couldn't properly use -11 DEBUG as you can see.

image image

This is after trying out the KochinPa command. I entered 3 when it asked me to choose since that looked the most similar.

image image

After that it started downloading the URLs properly

image image

Hmm it worked properly this time even with 9anime. Could I know what you did differently that it worked now while it didn't for me?

KashTag commented 6 years ago

From what I can see the two things different were that your 9anime link doesnt have the weird number that changes for every episode which it usually does since 9anime directly opens up an episode instead of some kind of anime page. Also your link is a ww5.9anime while i was using ww6.9anime.

vn-ki commented 6 years ago

Hmm. Seems like 9anime worked. I didn't change anything. Perhaps you could share what url you were trying?

As for kissanime, can you do, python -c "import cfscrape" and paste the output. If I had to guess, I think it is because you don't have node js installed, which is a dependency for cfscrape.

As for -ll, you have to use the alphabet l not the number 1 (I know some monospace fonts can be confusing :P).

vn-ki commented 6 years ago

From what I can see the two things different were that your 9anime link doesnt have the weird number that changes for every episode which it usually does since 9anime directly opens up an episode instead of some kind of anime page. Also your link is a ww5.9anime while i was using ww6.9anime.

It shouldn't matter, if I remember correctly. If you could share the url, I can try it on my machine.

KashTag commented 6 years ago

image

Also its working now, that my w6.9anime link i.e. Guess I was making some noobish mistake. Sorry :P

Though Kissanime links still redirect to 9anime (probaly coz that module isnt installed), but ive realized the file sizes are only small for Fairy Tail, and even then the quality is drastically low as compared to 9anime. Sorry again for arguing about that. 9anime is good as any other.

vn-ki commented 6 years ago

Ah. Good to know it's working. :)

I'll close this issue now. If you run into anything else, feel free to open an issue.

vn-ki commented 6 years ago

Also, if you still want kissanime, you can do pip install cfscrape and make sure you have node-js installed.

KashTag commented 6 years ago

Thanks for that. I'll keep that in mind. And I'm so sorry again for all this ruckus. In the end it was probably some noobish mistake i made. Maybe your updated 2.4.1 version fixed it but i doubt that. Thanks a lot for bearing with me man.