Skip to content

Simple Ruby script to download all StackSkills tutorials.

License

Notifications You must be signed in to change notification settings

barakagb/stackskills-dl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Simple Ruby script to download all StackSkills tutorials.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%