Giter Club home page Giter Club logo

stackskills-dl's Introduction

This is a non-official Ruby script to download all StackSkills tutorials. Login details is required to acquire the subscribed courses to be downloaded.

Information

Pre-requisites (Important!!)

  • wget - download attached files(videos, PDFs and zipped files).
  • youtube-dl - for Wistia videos, please install youtube-dl to avoid any error.

For Non-Ruby Downloaders

If this is the first time you're running a Ruby script, it is recommended to install Ruby via a version manager i.e. rvm or rbenv, but installing Ruby directly is fine for a short term usage to make sure the script is compatible with the current Ruby version.

For Windows Users

The script may not be working well with Windows systems based on some issues being reported. If you're familiar with command prompt/Linux based commands and have Git installed, please try to use Git bash to run the script.

If you're facing problems related to wget, do make sure wget can be run within your working directory i.e. directory that runs this script.

Usage

This script requires Mechanize gem to run.

bundle install

To use this script:

ruby stackskills_dl.rb

The script will prompt your login details and download all courses available in your "Enrolled Courses" page. Alternatively, you can save your credentials to environment variables as STACKSKILLS_EMAIL and STACKSKILLS_PASSWORD for login email and password respectively.

Flags are available to pass login details and optional course link to the script. To see what are the available options, please type:

ruby stackskills_dl.rb --help

For example, if you want to download only one course:

Using course ID:

ruby stackskills_dl.rb -c https://stackskills.com/courses/enrolled/68582

Using course slug:

ruby stackskills_dl.rb -s https://stackskills.com/courses/beginning-rails-programming

Change Log

Change log is available in CHANGELOG.md.

stackskills-dl's People

Contributors

yoonwaiyan avatar pew avatar shawnteoh 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.