Giter Site home page Giter Site logo

srinivasgumdelli / coursera-downloader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from abiyani/coursera-downloader

0.0 2.0 0.0 14 KB

Bash script to download all lecture videos & notes for a particular course on Coursera.org.

License: Apache License 2.0

Shell 100.00%

coursera-downloader's Introduction


Note: This program is NOT affiliated with (or endorsed by) Coursera® in anyway.


##Coursera.org course downloader

This is a quick hack to download all video lecture & pdfs from a Coursera.org's course.

  • Downloads are resumable, so you can run this script often as the course progress (provided you use the same destination directory each time, and keep default names).

PS: This script is essentially a glorified bulk downloader (optimized for Coursera), so with zero/minor tweaking you may use it to download all (or particular class of) resources from any desired webpage (e.g., I use it to download course material from edX often)

###Usage

$ ./coursera-dl --help

USAGE: coursera-dl [options] <Resources_Page> <Destination_Directory>
Downloads all resources from a course page. Requires 'aria2c' to be installed.

Resources_Page                  Either path to a locally saved copy, or URL of the webpage containing links to all the resources
                                (e.g., 'https://class.coursera.org/algo2-002/lecture/index', '~/algo_lectures.html', etc)
Destination_Directory           Path to existing local directory where course resources will be downloaded.
options:
  -c, --cookie-file             Path to cookie file (e.g., ~/.config/google-chrome/Default/Cookies).
  -h, --help                    Display this help message and exit.

Note:

  • You need to be logged into coursera in your browser, and provide a link to the browser's cookie file (for authentication purpose). Usual location for Google Chrome's cookie file (in Ubuntu) is: ~/.config/google-chrome/Default/Cookies, similarly for Firefox (in Ubuntu): ~/.mozilla/firefox/<ProfileNameHere>/. After you login into coursera in your browser, provide the path to cookie file using --cookie-file parameter.
  • You need to have aria2c installed on your system to use this script. To install it on Ubuntu: sudo apt-get install aria2

coursera-downloader's People

Contributors

abiyani avatar

Watchers

Srinivas Prasad Gumdelli avatar James Cloos 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.