mirror of
https://github.com/coursera-dl/coursera-dl.git
synced 2026-01-23 02:35:37 +00:00
Page:
help output
No results
1
help output
Jonas De Taeye edited this page 2013-12-06 15:43:07 -08:00
coursera-dl [OPTIONS] COURSE [COURSE...]
General options
-h, --help show this help message and exit
--version show program's version number and exit
--preview download preview videos instead of the regular
course material
--download-about additionally download about metadata to
about.json
-r, --reverse download and save sections in reverse order
--parser PARSER html parser to use, one of [html5lib
html.parser lxml] (default: html5lib)
--proxy URL use the specified HTTP/HTTPS proxy
--hook HOOKS hooks to run when finished
--playlist generate M3U playlist for every course section
Authentication options
-u, --username USERNAME coursera username
-p, --password PASSWORD coursera password
-n, --netrc [FILE] use netrc for reading passwords, uses default
location if no file specified
Filter options
--sections NUMBERS space separated list of section numbers to
download, e.g. "1 3 8"
-f, --formats EXTENSIONS space separated list of file extensions to
download, e.g "mp4 pdf" (default: special
value "all")
--skip-formats EXTENSIONS space separated list of file extensions to
skip, e.g., "ppt srt pdf"
-sf, --section-filter REGEX only download sections which contain this
regex (default: disabled)
-lf, --lecture-filter REGEX only download lectures which contain this
regex (default: disabled)
-rf, --resource-filter REGEX only download resources which match this regex
(default: disabled)
Filesystem options
-d, --destination DIR location in filesystem where everything will
be saved
--archive Tarball courses for archival storage
--overwrite overwrite already downloaded files
--max-filename-length NUMBER Maximum length of filenames/directories in a
path (windows only)
Download options
--wget [BIN] download using wget
--curl [BIN] download using curl
--aria2 [BIN] download using aria2
--axel [BIN] download using axel
Debugging / Verbosity options
--cookies COOKIES file to read cookies from
--lectures-page FILE uses/creates local cached version of syllabus
lectures page
--skip-download do not download files
-s, --simulate do not download the files and do not write
anything to disk
--debug print lots of debug information
--quiet omit as many messages as possible (only
printing errors)
--cache-dir DIR Location in the filesystem where coursera-dl
can store downloaded information permanently,
the default location is /tmp
--no-cache-dir Disable filesystem caching
--clear-cache clear cached cookies