wileyalt / kissanime_dl

web-crawler / package manager / kissanime downloader
MIT License
24 stars 7 forks source link

Captcha error for kissasian #30

Open oreki89 opened 7 years ago

oreki89 commented 7 years ago

hello! When I try to download anything from kissasian.com it says captcha error. Here's the output:

kissanime-dl http://kissasian.com/Drama/Kekkon-Dekinai-Otoko ~/Videos/kissdrama/kekkon/ --episode=1 --quality=480 Platform: Linux Python Version: 3 Program Version: 1.9.8 Warning: Version 1.9.6 changed the host of kisscartoon.me to kisscartoon.se. Checking for updates Waiting for authentication... Should take about 4 seconds Success! Episode-1 Captcha Error @ http://kissasian.com/Drama/Kekkon-Dekinai-Otoko/Episode-12?id=18135 Captcha Error @ http://kissasian.com/Drama/Kekkon-Dekinai-Otoko/Episode-11?id=18134 Captcha Error @ http://kissasian.com/Drama/Kekkon-Dekinai-Otoko/Episode-10?id=18133 Captcha Error @ http://kissasian.com/Drama/Kekkon-Dekinai-Otoko/Episode-1?id=18124 Downloaded 0 files at /home/x/Videos/kissdrama/kekkon Elapsed time: 0:00:19.526511

Can you look into it?I guess it is due to cloudflare. Would be great if you could make it work. Thanks.

wileyyugioh commented 7 years ago

so what's going on with kissanime-dl and other similar programs is that the kisssites completely changed how they store the url to videos. Now they encrypt them using keys that change based on time and ip. A solution I am working on is changing kissanime-dl's engine so it uses an actual browser rather than a faux one. However, this may take some time and not even work at all, so please be patient.

hex007 commented 7 years ago

Chrome just announced headless support. Might be a good idea to check out. Also there are text based lightweight browsers like links , links2, and elinks.

Is there a dev branch to test these?

oreki89 commented 7 years ago

@wileyyugioh Thanks for the reply.

wileyyugioh commented 7 years ago

@hex007 I haven't started work yet, because what I plan to do is use selenium with headless chrome which hasn't been released yet. Hopefully in the next major update I can replace requests and js2py with just selenium.

olaban-ji commented 7 years ago

is kissanime_dl stil functioning for kissanime?

wileyyugioh commented 7 years ago

No, kissanime also updated their encryption.

ghost commented 7 years ago

even if you use a headless browser like PhantomJs or WebKit. You cannot pass the Captcha. You seriously need to change everything , little hack into the Captcha engine can tell you something (Disclaimer: Kissanime now uses their own Captcha).

But if you want a easy to use and Well documented headless browser api for Python. Then my recommendation would be The Qt Binding for Python , you just need to discard the line that renders the application then you are good to go. Its even faster than PhantomJs so its your best choice! Click here to Know More about the Qt Framework!

hex007 commented 7 years ago

I have used the website after they changed the capcha. There are only few that they recycle. Technically it might be possible to solve them after getting some of them solved by the user and saving the mapping

ibz096 commented 7 years ago

in regard to kissanime.ru can't you load the mobile page http://kissanime.ru/m to avoid the captchas ?

wileyyugioh commented 7 years ago

The mobile version of the site generates the video urls through js which goes back to the original problem that a) the video links on the desktop site are heavily obfuscated through javascript and b) there is a captcha that needs to be bypassed for every video. Once there is a breakthrough in jsfuck decoding in python part a will be solved, and a solution for part b is a database or more reverse engineering.

ThatLurker commented 7 years ago

we can just hope that the attack against their servers ends and they remove the annoying captcha