Code Monkey home page Code Monkey logo

coursera-1's Introduction

##Download Coursera materials.

###Dependencies:

  • Python 2.7 - for argparse
  • Mechanize
  • BeautifulSoup

###Format: python coursera.py <course> [-p part1 part2 ...] [-r row1 row2 ...] [-t {pdf ppt txt srt movie} {pdf ppt txt srt movie} ...] [-v] [-l {debug info warning error critical}] [-f] [-e]

  • course - the course name, just look for the according name in the url of the course
  • -p or --parts - numbers starting from 1 of nessesary chapters (optional)
  • -r or --rows - numbers starting from 1 of nessesary lectures (optional)
  • -t or --types - types of resources to download (optional)
  • -v or --verbose - be verbose (the same as -l info) (optional)
  • -l or --logging - use specified logging level (optional)
  • -f or --force - override existing files (optional)
  • -e or --escape - escape file and directory names (important for Windows) (optional)

###Examples:

  • python coursera.py nlp -v -e - download the whole NLP course in verbose mode and escape file names (skip already downloaded files)
  • python coursera.py saas -v -f - download the whole SAAS course in verbose mode (override existing files)
  • python coursera.py saas -l debug -f - download the whole SAAS course with debug logging level (override existing files)
  • python coursera.py nlp -p 1 2 -v - download the 1st and the 2nd chapters of NLP course
  • python coursera.py nlp -p 3 -r 2 3 - download the 2nd and the 3rd lectures of the 3rd chapter of NLP course
  • python coursera.py nlp -p 3 -r 2 3 -t movie pdf - download the 2nd and the 3rd lectures of the 3rd chapter of NLP course (only video and PDF files)

coursera-1's People

Contributors

dmotitsk avatar skogler avatar dedsm avatar jmorenoamor avatar mkazin avatar punchagan avatar stigerland avatar tdjones avatar

Watchers

James Cloos avatar Charles avatar  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.