Coder Social home page Coder Social logo

schoettkr / educative.io-downloader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shihabmridha/educative.io-downloader

0.0 1.0 0.0 119 KB

๐Ÿ“– This tool is to download course from educative.io for offline usage. It uses your login credentials and download the course.

TypeScript 100.00%

educative.io-downloader's Introduction

!! Discontinued !!


โœ‰๏ธ Description

This tool is to download course from for later usage. It uses your login credentials and download the course.

๐Ÿงฏ IMPORTANT

  • You need a subscription to use this.
  • Might not work in WSL

๐Ÿ’ก Usage

  • Install typescript cli.
  • Clone the project and navigate into it.
  • npm install to install dependencies.
  • Open config/default.json file to set configurations. (Email, Password, Course URL).
  • npm run compile to compile typescript.
  • npm start to start download.

IMPORTANT: If you make changes to the code, make sure to compile it.

โš™๏ธ CONFIG

Config file (config/default.json) has the following properties.

  • email: Your subscription email.
  • password: Your subscription password.
  • loginCheck: By default, before downloading a course we check if you are already logged in. If you are sure that you are already logged in then you can set this value to false to skip login check. Recommended value: true.
  • multiLanguage: A lesson can contains code snippets in multiple programming languages. Set this to true to download snippets in all available language. Default is false.
  • saveAs: Available options: pdf and html. Default is html.
  • headless: Browser mode. Default is false.

IMPORTANT: If you save as html it is actually gonna save as mhtml.

๐Ÿ›  TROUBLESHOOT

NAVIGATION TIMEOUT (Or, some other timeout)?

  • Open globals.ts and increase the value of HTTP_REQUEST_TIMEOUT. Default is 30000ms.

DOWNLOAD EMPTY PAGE?

  • Verify your login credentials and set loginCheck: true.
  • Open browser.ts file and find launchBrowser() and set headless: false to see live actions.
  • Make sure you are logged in.

FORCE LOGIN? LOGIN TO ANOTHER ACCOUNT?

  • Remove data directory. Chrome driver stores session/cookies etc in that directory.

SOMETHING IS WRONG?

  • Remove data directory. Chrome driver stores session/cookies etc in that directory.

educative.io-downloader's People

Contributors

devdcores avatar devkshitijjain avatar schoettker avatar shihabmridha avatar thisisamank avatar

Watchers

 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.