muhamed-didovic / ccdown

Scraper and downloader for codecourse.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npm Downloads Hits license

Downloader and scraper for codecourse.com for pro members

Requirement

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 user@gmail.com] [-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: muhamed.didovic@gmail.com

About

Scraper and downloader for codecourse.com

License:MIT License


Languages

Language:JavaScript 100.0%