Code Monkey home page Code Monkey logo

tutsplus-downloader's Introduction

TutsPlus Downloader

This script download course videos from http://courses.tutsplus.com to your computer, converts to m4v and tag it to use in iTunes

Installation

Use pip:

pip install git+https://github.com/spoof/tutsplus-downloader.git#egg=tutsplus-downloader

Alternatively, you can just clone this url to your local folder and run in the cloned directory:

sudo python setup.py install

Usage

Run:

tutsplus-downloader --help

and you will get all that you need

tutsplus-downloader's People

Contributors

spoof avatar

Watchers

 avatar  avatar

tutsplus-downloader's Issues

No Longer Downloads

I get the following when attempting to download a course:

Downloading course from 'https://code.tutsplus.com/courses/getting-started-with-laravel-4'
title: Getting Started With Laravel 4
author: Joost Van Veen

Lesson 1
--------
   > url: https://code.tutsplus.com/courses/getting-started-with-laravel-4/lessons/welcome
   > title: Welcome
   > description: Welcome to Getting Started With Laravel 4! Let’s check out a brief outline of what we’ll cover g
   > Downloading... Traceback (most recent call last):
  File "/usr/local/bin/tutsplus-downloader", line 9, in <module>
    load_entry_point('tutsplus-downloader==1.0', 'console_scripts', 'tutsplus-downloader')()
  File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/tutsplus_downloader-1.0-py2.7.egg/tutsplus_downloader.py", line 204, in main
    filename = download_file(save_directory, name, data['download_url'])
  File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/tutsplus_downloader-1.0-py2.7.egg/tutsplus_downloader.py", line 76, in download_file
    file_size = int(r.headers['content-length'])
  File "/usr/local/lib/python2.7/site-packages/requests/structures.py", line 77, in __getitem__
    return self._store[key.lower()][1]
KeyError: 'content-length'

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.