GithubHelp home page GithubHelp logo

Comments (6)

chaosAD avatar chaosAD commented on August 30, 2024 1

Have a look at my PR #54, I have included command-line options to select PDF only, EPUB, only, or both.

from springer_free_books.

sinnytk avatar sinnytk commented on August 30, 2024

A simple mode variable along with a check whether to download PDF + EPUB or only PDF(if available.)

I can work on this if that's ok?

@alexgand

from springer_free_books.

prkandel avatar prkandel commented on August 30, 2024

Yeah, the change should be simple. Sounds good to me.

from springer_free_books.

alexgand avatar alexgand commented on August 30, 2024

@sinnytk yes, please, but make it simple.

from springer_free_books.

sinnytk avatar sinnytk commented on August 30, 2024

@alexgand
These are the different modes that I came up with. What do you reckon would be a better implementation, using command line arguments or asking for mode as input from the user?

0, download both (EPUB and PDF)
1, download PDF only (if not available, skip)
2, download EPUB only (if not available, skip)
3, prefer PDF (otherwise download EPUB)
4, prefer EPUB (otherwise download PDF)

from springer_free_books.

alexgand avatar alexgand commented on August 30, 2024

Implemented in PR #57, please try the new code, it is now much better!

from springer_free_books.

Related Issues (20)

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.