Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dmotitsk/coursera
Coursera materials downloader.
https://github.com/dmotitsk/coursera
Last synced: 8 days ago
JSON representation
Coursera materials downloader.
- Host: GitHub
- URL: https://github.com/dmotitsk/coursera
- Owner: dmotitsk
- Created: 2012-03-13T11:09:27.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2023-01-20T23:36:28.000Z (almost 2 years ago)
- Last Synced: 2024-08-01T15:32:30.680Z (3 months ago)
- Language: Python
- Homepage:
- Size: 30.3 KB
- Stars: 58
- Watchers: 6
- Forks: 20
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
##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)