/coursehunters-downloader

Coursehunters.net downloader

Primary LanguagePHP

Codehunters Downloader

This program will work with a free user account. Although videos might return errors for free users if it is locked to premium users only, so you may have to upgrade to a premium account and try again.

Download coursehunters.net videos. Screenshot

Description

Inspired from iamfreee/laracasts-downloader. Download or update your local catalogue with codehunters.net series.

If you dont want to save your username and password in configuration file just remove username and password settings from configuration file. It will ask your username and password after you run downloader.

An account with an active subscription is not necessary!

Requirements

  • PHP >= 5.4
  • php-cURL
  • php-xml
  • Composer

Installation

  • Clone this repo to a folder in your machine
  • Change your info in .env.example and rename it to .env
  • Open up .env file change the value of USERNAME to your Code Hunters Email and PASSWORD to your Code Hunders Password.
  • composer install
  • php coursehunters download "series name" and you are done!

Building the docker image

  • Clone this repo to a folder in your machine
  • From within the directory run docker build . -t coursehunters
  • run docker run --rm -it -v $(PWD)/Downloads:/app/downloads coursehunters:latest and you are done! now all the files will be saved inside the downloads directory. Once you run it, it will ask you for your username and password and start downloading the courses.

Downloading series.

if you want to download specific series you can pass comma separated series slugs as an argument.

Normal Example:

For example if you want to download https://coursehunters.net/course/end-to-end-testirovanie-s-google-s-puppeteer-i-jest

php coursehunters download "learn-es6,flexbox-crash-course"

Docker Example:

For example if you want to download https://coursehunters.net/course/end-to-end-testirovanie-s-google-s-puppeteer-i-jest using the docker image

docker run --rm -it -v $(PWD)/Downloads:/app/downloads  coursehunters:latest download "learn-es6,flexbox-crash-course"