CAUTION: This script was a weekend project created solely for entertainment purposes, with no intention to alter videos or engage in any illegal activities related to Vue School content. Usage of downloaded videos is strictly prohibited. Please note that future regular updates should not be expected. For viewing, please visit the official site at vue-school.io!
- clone this repository
git clone [email protected]:dipenparmar12/vueschool-dl.git
cd vueschool-dl
&&yarn install
- Change variables in
.env.example
& rename it.env
- add/uncomment URL's of course you want to download to
courses.js
list array yarn download
ornpm run download
- Simple Documentation.
- Download ETA or Process bar,
- Use direct Login using Cookie file to access video files.
- CLI Option to Overwrite existing downloaded videos.
- Force download courses-json data or skip if exits.
Tutorial
https://www.digitalocean.com/community/tutorials/how-to-scrape-a-website-using-node-js-and-puppeteer#step-6-mdash-scraping-data-from-multiple-categories-and-saving-the-data-as-jsonEslint & Prettier
Request interceptor
: https://www.scrapehero.com/how-to-increase-web-scraping-speed-using-puppeteer/String Start/End regex
: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions/AssertionsDownload file streams
: https://stackoverflow.com/questions/11944932/how-to-download-a-file-with-node-js-without-using-third-party-librariesString to slug
: https://gist.github.com/codeguy/6684588?permalink_comment_id=3243980#gistcomment-3243980