Skip to content
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

Fix retrieving download links #18

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix retrieving download links #18

wants to merge 2 commits into from

Conversation

Unpaid8503
Copy link

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.

@aviaryan
Copy link
Owner

Hi. I get this error while trying the script.

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

@Unpaid8503
Copy link
Author

Unpaid8503 commented Mar 17, 2017

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

@Louise789
Copy link

Louise789 commented Mar 18, 2017

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

@aviaryan
Copy link
Owner

@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.

@Louise789
Copy link

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

@aviaryan
Copy link
Owner

aviaryan commented Mar 24, 2017

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

@Sherrellmb1992
Copy link

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.

@lovek323
Copy link

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

@sriram1998
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants