Code Monkey home page Code Monkey logo

ebookdownloader's Introduction

ebookDownloader

Vital Source Ebook Downloader

About

This project was designed to create a pdf from an online textbook viewed through Vital Source's Bookshelf in-browswer viewer. When the user supplies their information (username, password, book url, and number of pages), the script goes out and downloads the pages from the online textbook and compiles them as a pdf.

All downloads are stored in a timestamped folder inside the user's Documents directory. This script is designed to run on Windows and was tested on a Windows 7 pc. Some modification of the paths variables might be required in order for it to be run on a Linux or OS X machine.

Requirements

Windows 7 (tested but should work on other OS') Ruby 1.9.3 Curl for Windows (must be in path) Internet connection

Example Usage

Run the script by typing:

ruby main.rb

Enter Email: [email protected]

Enter Password: abc123

Enter Book URL: https://online.vitalsource.com/signin?return=/books/9781121125216/pages/18503748

Enter # Pages: 475

The book url you enter should be the URL the browser takes you to once you try to access a book through Vital Source's website if you're not signed in. Assuming you have a Vital Source account associated with the book you want to view, the script should be able to retrieve the book and download it as a PDF.

ebookdownloader's People

Contributors

grantgumina avatar

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.