ccdown
v0.24.0
Published
Downloader and scraper for codecourse.com for pro members
Downloads
83
Maintainers
Readme
Downloader and scraper for codecourse.com for pro members
Requirement
- Node 18
- yt-dlp (https://github.com/yt-dlp/yt-dlp)
Install
npm i -g ccdown
without Install
npx ccdown
run locally
- pull the project
- install dependencies
- run next command:
node lib/cli.js
CLI
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 [email protected]] [-p password] [-d dirname] [-c number] [-f path-to-file] [-v yes or no]
Log and debug
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.
License
MIT
Need help
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: [email protected]