Skip to content

muhamed-didovic/ch-scrape

Repository files navigation

npm Downloads Hits license

Scrape videos (courses) from coursehunter.net for pro members into file

Beware this is not a downloader if you want to use downloader you can use one of these two:

https://github.com/muhamed-didovic/fmdown
https://github.com/muhamed-didovic/chdown-workers

Requirement

  • Node 18

Install

npm i -g ch-scrape

without Install

npx ch-scrape

CLI

Usage
  $ ch-scrape <?CourseUrl|SourceUrl|CategoryUrl>

Options
  --all, -a         Get all courses.
  --email, -e       Your email.
  --password, -p    Your password.
  --directory, -d   Directory to save.
  --type, -t        source|course Type of download.
  --videos, -v      Include videos if available (options available: 'yes' or 'no', default is 'yes').
  --subtitle, -s    Include subtitles if available (options available: 'yes' or 'no', default is 'no').
  --zip, -z         Include archive if available (options available: 'yes' or 'no', default is 'no').
  --code, -c        Include code if availabl (options available: 'yes' or 'no', default is 'no').
  --lang, -l        Include courses of certain language, available options: 'English', 'Русский' and 'all'
  --concurrency, -cc

Examples
  $ ch-scrape
  $ ch-scrape --all
  $ ch-scrape https://coursehunter.net/course/intermediate-typescript -t course
  $ ch-scrape [url] [--all] [-e user@mail.com] [-p password] [-t source|course] [-v yes|no] [-s yes|no] [-z yes|no] [-c yes|no] [-l English|Русский|all] [-d path-to-directory] [-cc concurrency-number]

License

MIT