Kissanime-Batch-Downloader icon indicating copy to clipboard operation
Kissanime-Batch-Downloader copied to clipboard

Fix retrieving download links

Open Unpaid8503 opened this issue 7 years ago • 9 comments

This fixes the bug which the script couldn't retrieve links on KissAnime. KissAnime uses JavaScript to print the download links, which this script didn't know how to deal with it. css.js, vr.js and shal.js are now included for the decryption of the string containing the download links.

Unpaid8503 avatar Mar 17 '17 16:03 Unpaid8503

Hi. I get this error while trying the script.

screen shot 2017-03-17 at 10 15 07 pm

aviaryan avatar Mar 17 '17 16:03 aviaryan

That's weird, it works perfectly for me. It could be not working for you because of Safari perhaps

Unpaid8503 avatar Mar 17 '17 16:03 Unpaid8503

Hello. I also got the same error, I'm using firefox btw. Any suggestions? @ErmanSayin

Louise789 avatar Mar 18 '17 09:03 Louise789

@ErmanSayin @Louise789 Just committed few changes to this PR that makes the script work on my side. Please test it on your side and let me know if it works or not.

On the other hand, some of KissAnime downloads are moving to Openload. Now that's bad news.

aviaryan avatar Mar 22 '17 06:03 aviaryan

Got this error for both firefox and google chrome. @aviaryan Error: Malformed UTF-8 data - Please try to change browser.

Louise789 avatar Mar 23 '17 12:03 Louise789

What about you ? @ErmanSayin

@Louise789 This is weird. It means that kissanime is using different pages for a user. Will it be possible for you to share the HTML source code of an KissAnime episode page (not episode listing page) for which link fetching fails. Example - Try the script on the following anime and if it fails give me the source code for the following episode page. http://kissanime.ru/Anime/Ao-no-Exorcist-Kyoto-Fujouou-hen/Episode-001?id=133395

Thanks

aviaryan avatar Mar 24 '17 04:03 aviaryan

First of all, thank you so much for working on this issue; I'm having the same problem with getting the blank html file which is supposed to have the links.

These are the errors I get after running $.getScript("https://rawgit.com/aviaryan/Kissanime-Batch-Downloader/master/kissanime.js") on the JavaScript console :

console

After all of that, the links file that gets downloaded is blank. And this is after running the script ErmanSayin posted as a fix.

I'm using Chrome and I'm trying to download Bungou Stray Dogs. Thank you again for your help.

Sherrellmb1992 avatar Mar 30 '17 07:03 Sherrellmb1992

This didn't work for me either. No errors, just an empty links.txt file

lovek323 avatar Apr 20 '17 10:04 lovek323

Hi, I tried using this script. where do i see the function definition for ovelWrap. it says ovelWrap is not defined

sriram1998 avatar Feb 13 '20 15:02 sriram1998