Before anything else let's clarify that this script is for paid users only.
This script will simply don't work if you don't provide a valid username and password. The account you provide must be a valid tutsplus premium's account.
Tutsplus already allow us to download their video. In fact in each lesson's page there is a shiny download button.
Because I watch their video mostly offline (during train travelling) I needed a way to bulk download the courses. This script just automates this process.
- Clone this repository
- Install dependencies with ```pip install -r requirements.txt``
First thing first make a new file(inside the repos dir) called download.py
with the following contents:
#! /usr/bin/env python
#-*- coding: utf-8 -*-
# Importing the module
from Tutsplus import Tutsplus
# Your username and password
username = 'my_username'
password = 'my_password'
# This is a list with all the url for the courses you want to download
courses_url = [
'https://tutsplus.com/course/say-yo-to-yeoman/',
'https://tutsplus.com/course/phone-gap-essentials/'
]
# Instantiate the main object passing the credentials
t = Tutsplus(username, password)
# This method will download all the courses within the list
t.download_courses(courses_url)
run with python download.py