npm i -g ccdown
npx ccdown
node lib/cli.js
Usage
$ ccdown [CourseUrl]
Options
--all, -a Get all courses.
--email, -e Your email.
--password, -p Your password.
--directory, -d Directory to save.
--file, -f Location of the file where are the courses
--videos, -v Download videos (values: 'yes' or 'no'), default value is 'yes'
--concurrency, -c
Examples
$ ccdown
$ ccdown -a
$ ccdown [url] [-e user@gmail.com] [-p password] [-d dirname] [-c number] [-f path-to-file] [-v yes or no]
This module uses debug to log events. To enable logs you should use environment variable DEBUG
.
Next command will log everything from scraper
export DEBUG=scraper*; ccdown
Module has different loggers for levels: scraper:error
, scraper:warn
, scraper:info
, scraper:debug
, scraper:log
. Please read debug documentation to find how to include/exclude specific loggers.
MIT
If you require assistance with an existing scraper/crawler, need to develop a new one, or have any other programming-related inquiries, please don't hesitate to reach out to me: muhamed.didovic@gmail.com