Vergo777 / Kissanime-LinkDownload

Downloads direct batch links for Kissanime episodes
22 stars 21 forks source link

Script Enhancement( Vergo777) #9

Open dreadbcool4ever opened 8 years ago

dreadbcool4ever commented 8 years ago

Hey.

Just wanting to say this, but I have been modifying the script a bit so I could use it as a bookmark instead, and instead of just using it myself, I wanted to share it as an enhancement. It works easier now, since you can add it as a bookmark in Chrome and just click it, but you'll still need console to see the links. Anyway, here is the script:

http://pastebin.com/s5vcJqaF

I took out Username and API Key, so users can add it as their own ones. Hope this helps. The preview shows at the append part

Sincerely, Dread.

Ps. I know this is for issues, but I saw an enhancement label, and thought I could add the label

RutgerM commented 8 years ago

@dreadbcool4ever Awesome! Thanks for this :+1:

@dreadbcool4ever & @Vergo777 I don't know if you've noticed, but the Kissanime domain has been updated to .to so you should update your script because for some reason the 'http://kissanime.com/Scripts/asp.js' won't autoredirect itself to 'http://kissanime.to/Scripts/asp.js'.

dreadbcool4ever commented 8 years ago

@RutgerM Thanks for the reply. I fixed the script again from the kissanime.com to kissanime.to now, and I have tested it, and it has returned positive results.

RutgerM commented 8 years ago

@dreadbcool4ever Cheers :+1:

I really like this script, but my knowledge of JavaScript is limited so I can't add features to it, like a dropdown of the available video qualities (if that is even possible to add...).

dreadbcool4ever commented 8 years ago

@RutgerM I was thinking of adding it, but my Javascript has become rusty from not being used, and so, I will have to use it more often now again before I attempt something like a dropdown menu.

RutgerM commented 8 years ago

@dreadbcool4ever If you could, I would be very grateful for that :smile:

Vergo777 commented 8 years ago

@dreadbcool4ever, this seems really neat, good job! I've all but abandoned this for now since I'm incredibly busy at the moment so any useful enhancements made by others is more than appreciated.

dreadbcool4ever commented 8 years ago

@RutgerM Thanks for that thread. I am currently troubleshooting mine, as I see the HTTPS now. I did not notice, as I was busy with exams and had no internet access for 10 days

Darkfard commented 8 years ago

Hi, sorry for invading this thread, could the same thing be done with anime44.org? A lot of good anime's are gone from Kissanime because of DMCA and I saw that anime44 kind of has the same setup except that they don't have the /Scripts/asp.js folder.

dreadbcool4ever commented 8 years ago

@darkfard It's worth a shot, but it will take time to create, and find possible methods to fix it.

@RutgerM I fixed the HTTPS problem with the scripts and will update my pastebin in a minute, so you can do the same. To fix the HTTPS issue, change the http://api.bitly.com/v3/shorten?callback=? to https://api-ssl.bitly.com/v3/shorten?callback=? and it will instantly read the URL's again, since it runs through the secured HTTP's line.

RutgerM commented 8 years ago

@dreadbcool4ever : Thanks! I'll update my fork.

It might also be a good idea to look for a different API, as Bitly has a limit in how many links can be shortened. Would https://yourls.org/ be a possible solution?

dreadbcool4ever commented 8 years ago

@RutgerM I'll check and mess around with it

RutgerM commented 8 years ago

@dreadbcool4ever: Cheers. Let me know how it goes. I've got a domain we could use for the moment in case that is needed.

Adyel commented 8 years ago

All The Image are Missing :( And I am getting Some kind of Error.

GET https://ssl.google-analytics.com/ga.js net::ERR_BLOCKED_BY_CLIENT
GET https://s7.addthis.com/js/300/addthis_widget.js net::ERR_BLOCKED_BY_CLIENT
GET http://kissmanga.com/ads/sideskins/nov/side3/L.jpg net::ERR_BLOCKED_BY_CLIENT
GET http://kissmanga.com/ads/sideskins/nov/side3/R.jpg net::ERR_BLOCKED_BY_CLIENT
GET https://kissanime.to/ads/madads.aspx net::ERR_BLOCKED_BY_CLIENT
Mixed Content: The page at 'https://kissanime.to/Anime/Gatchaman-Crowds-Insight' was loaded over HTTPS, but requested an insecure image 'http://kissmanga.com/ads/sideskins/nov/side3/L.jpg'. This content should also be served over HTTPS.
Mixed Content: The page at 'https://kissanime.to/Anime/Gatchaman-Crowds-Insight' was loaded over HTTPS, but requested an insecure image 'http://kissmanga.com/ads/sideskins/nov/side3/R.jpg'. This content should also be served over HTTPS.
GET https://kissanime.to/ads/madads300.aspx net::ERR_BLOCKED_BY_CLIENT
GET https://referrer.disqus.com/juggler/event.js?thread_slug=gatchaman_crowds_i…forum=kissanime&forum_id=3152650&imp=8krqm052n6u956&prev_imp=8kr3kj0h422kv net::ERR_BLOCKED_BY_CLIENT
GET https://ssl.google-analytics.com/ga.js net::ERR_BLOCKED_BY_CLIENT
GET https://connect.facebook.net/en_US/all.js net::ERR_NAME_RESOLUTION_FAILED
GET https://www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.c…unt&width=100&show_faces=false&action=like&colorscheme=dark&font&height=21 net::ERR_NAME_RESOLUTION_FAILED
GET https://www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.c…unt&width=100&show_faces=false&action=like&colorscheme=dark&font&height=21 net::ERR_NAME_RESOLUTION_FAILED
$.getScript("https://rawgit.com/Vergo777/Kissanime-LinkDownload/master/kissanime.js")
Object {readyState: 1}abort: (a)always: ()complete: ()done: ()error: ()fail: ()getAllResponseHeaders: ()getResponseHeader: (a)isRejected: ()isResolved: ()overrideMimeType: (a)pipe: (a,b,c)progress: ()promise: (a)readyState: 4setRequestHeader: (a,b)state: ()status: 200statusCode: (a)statusText: "success"success: ()then: (a,b,c)__proto__: Object
Mixed Content: The page at 'https://kissanime.to/Anime/Gatchaman-Crowds-Insight' was loaded over HTTPS, but requested an insecure script 'http://kissanime.com/Scripts/asp.js?_=1449340130572'. This request has been blocked; the content must be served over HTTPS.
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
Uncaught ReferenceError: asp is not defined

Also Note that Facebook is Blocked in my Country And I Use Ublock Ad blocker

vavavr00m commented 8 years ago

@dreadbcool4ever does this still work with the blogspot links?

dreadbcool4ever commented 8 years ago

@adyel Sorry for late reply.. I tested and it worked perfectly. No problems.

@vavavr00m I'm guessing if you remove the "javascript:" part maybe. I haven't used any of it for blogspot and the Javascript part is only to let browsers know it's a bookmark that runs through javascript

acute101 commented 8 years ago

i use it but how to get the links to download i only get numbers

dreadbcool4ever commented 8 years ago

@acute101 To see the links, you have to open the console. For chrome, this is F12, then click on Console and it should show you the links in order. If you are not using chrome, then find the way to open the console in your browser. If it's there, and you only get numbers, it seems certain episodes have problems with generating a link (Naruto Shippuden for instance), and so, the only workaround I found, is to calculate which episode this is, and manually generate the link itself.

ikizagirl commented 8 years ago

It's not working T.T down here is what i got~

Uncaught ReferenceError: wra is not defined at Object.jQuery.ajax.success (:2:1217) at j (eval at (eval at (unknown source)), :7:27136) at Object.k.fireWith [as resolveWith](eval at %28eval at %28unknown source%29%29, :7:27949) at x (eval at (eval at (unknown source)), :9:22244) at b (eval at (eval at (unknown source)), :9:26298) at Object.send (eval at (eval at (unknown source)), :9:26402) at Function.n.extend.ajax (eval at (eval at (unknown source)), :9:21703) at :2:978 at Object.InjectedScript._evaluateOn (:875:140) at Object.InjectedScript._evaluateAndWrap (:808:34)jQuery.ajax.success @ VM363:2j @ VM113:7k.fireWith @ VM113:7x @ VM113:9b @ VM113:9send @ VM113:9n.extend.ajax @ VM113:9(anonymous function) @ VM363:2InjectedScript._evaluateOn @ VM362:875InjectedScript._evaluateAndWrap @ VM362:808InjectedScript.evaluate @ VM362:664 ping?client_id=172525162793917&domain=kissanime.to&origin=1&redirect_uri=https%3A%2F%2Fstaticxx.fac…:1 Given URL is not permitted by the Application configuration: One or more of the given URLs is not permitted by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.

dreadbcool4ever commented 8 years ago

@ikizagirl I am on it. The error is new, and it will take time to fix,but will try as soon as possible

LordWyoming commented 7 years ago

Hi I'm new to this type of coding. I have been trying to figure out how to download more than one episode at a time from Kissanime can anyone help?