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.
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.
- PHP >= 5.4
- php-cURL
- php-xml
- Composer
- 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!
- 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.
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"