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 my_ccdown
without Install
npx my_ccdown
CLI
Usage
$ my_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
--concurrency, -c
Examples
$ my_ccdown
$ my_ccdown -a
$ my_ccdown [url] [-e user@gmail.com] [-p password] [-d dirname] [-c number] [-f path-to-file]
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*; vsdown
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