Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 1.87 KB

README.md

File metadata and controls

54 lines (38 loc) · 1.87 KB

vuemastery-dl

VueMastery video downloader

You can see List of existing courses in here

Download an entire course:

Using nodejs script

  • first cd data/ANY_DIRRECTORY like cd data/advanced-components
  • download a directory with node ../../mirror.js

Download all courses

If you want to download all courses, you can use the downloadAll.sh script.

# give execution rights to the script
chmod +x ./downloadAll.sh

# run using node
./downloadAll.sh

# run using python
./downloadAll.sh --python

Using python script

The script required Python 3.6+ and requests package. you can install it with pip install requests

  1. first cd to the direcoty of the course you want: cd data/ANY_DIRRECTORY like cd data/advanced-components
  2. download entire course with python3 ../../course-downloader.py

you can use this options:

  • -q for setting video quality: -q 1080 if the given quality was unavailable, the highest available quality will be used
  • -s for downloading subtitles: -s
  • -l for subtitles language: -l en

as rate limit policy applied to subtitle files, downloading a subtitle may fail. in this situation, the subtitle file will contain the subtitle like.

Finding video links (for contributors)

  • Open a lesson on the browser
  • Run document.getElementsByTagName('iframe')[0].src in the browser's console to get {Video LINK}
  • Run node download.js {Video LINK} in project directory. Also you can set quality of video node download.js {Video LINK} 720, Default set to 1080
  • Run node sitemap.js to get list of courses

PR

Please put new video links to the data folder to help others, If you still have access to the videos

Videos not yet completely added: