Coder Social home page Coder Social logo

crunchydump's People

Contributors

klaster1 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

crunchydump's Issues

Save chapters for later

Downloading only free chapters avaliable for limited time isn't cool enough, crynchydump should be able to:

  • Set API host URL.
  • Dump everything into local DB.
  • Expose API mirror using data from DB.
  • Start API automatically when there's a DB path in params. No need to run two instances for that.

Download whole series

It was implemented in the old private version before, now I have to add the same into this one as well.

Better error recovery

Since there are three possible URLs, let's try all three if any fails to download. The order should be:

  1. page.locale.enUS.encrypted_composed_image_url
  2. page.image_url
  3. page.locale.enUS.encrypted_composed_image_url

Improve error messaging

Page download messages are too verbose, these should show only vital information useful for debugging.

Downloading premium chapters no longer works.

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.