klaster1 / crunchydump Goto Github PK
View Code? Open in Web Editor NEWCrunchyroll manga downloader
Crunchyroll manga downloader
Downloading only free chapters avaliable for limited time isn't cool enough, crynchydump should be able to:
If any page fails to download (for example, when API returns error 500), crunchydump should just skip it, notify user and then save everything else.
It was implemented in the old private version before, now I have to add the same into this one as well.
Turns out some series don't have locale, which causes crash on title search with -s
option.
Since there are three possible URLs, let's try all three if any fails to download. The order should be:
If there's no page.locale, default image url access throws and nothign catches access from undefined error.
Page download messages are too verbose, these should show only vital information useful for debugging.
Colon in manga title causes invalid file name on Windows.
Unhandled rejection TypeError: Cannot read property 'value' of undefined
at APIClient.updateSessionID (C:\Users\Owner\AppData\Roaming\npm\node_module
s\crunchydump\lib\Client.js:17:81)
at APIClient. (C:\Users\Owner\AppData\Roaming\npm\node_modules\cr
unchydump\lib\Client.js:63:8)
at tryCatcher (C:\Users\Owner\AppData\Roaming\npm\node_modules\crunchydump\n
ode_modules\bluebird\js\main\util.js:26:23)
at Promise._settlePromiseFromHandler (C:\Users\Owner\AppData\Roaming\npm\nod
e_modules\crunchydump\node_modules\bluebird\js\main\promise.js:510:31)
at Promise._settlePromiseAt (C:\Users\Owner\AppData\Roaming\npm\node_modules
\crunchydump\node_modules\bluebird\js\main\promise.js:584:18)
at Promise._settlePromises (C:\Users\Owner\AppData\Roaming\npm\node_modules
crunchydump\node_modules\bluebird\js\main\promise.js:700:14)
at Async._drainQueue (C:\Users\Owner\AppData\Roaming\npm\node_modules\crunch
ydump\node_modules\bluebird\js\main\async.js:123:16)
at Async._drainQueues (C:\Users\Owner\AppData\Roaming\npm\node_modules\crunc
hydump\node_modules\bluebird\js\main\async.js:133:10)
at Immediate.Async.drainQueues [as _onImmediate] (C:\Users\Owner\AppData\Roa
ming\npm\node_modules\crunchydump\node_modules\bluebird\js\main\async.js:15:14)
at runCallback (timers.js:756:18)
at tryOnImmediate (timers.js:717:5)
at processImmediate [as _immediateCallback] (timers.js:697:5)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.