ReneR97 / domestika-downloader

Download full domestika courses
https://www.buymeacoffee.com/ReneR97
49 stars 14 forks source link

Node JS Tool to download full courses from Domestika

This script is a simple way to download a full course from Domestika.

Warning You need to own the course you want to download. So you either have to have bought it or got it for "free" with your premium account.

Installation

Once you downloaded the Project, open the "index.js" file.

You will find the following variables:

  const course_url = '';
  const subtitle_lang = 'en';
  const cookies;
  const _credentials_ = "";

The course_url is just the full URL of the course you want to download. For example:

https://www.domestika.org/en/courses/3086-creating-animated-stories-with-after-effects/course

IMPORTANT: you have to be on the "content" page. You know you are on the right site when at the end of the URL it says "/course".

To get the _domestikasession and the _credentials you will need to install a chrome extension called Cookie-Editor.

After you installed the extension, log into domestika and open the extension.

In the window popup, look for "_domestika_session", click to open it and copy the contents of the Value field into the value field under cookies.

then look for the "credentials" cookie, copy the value of that into the "credentials" variable.

If you want to change the subtitles that will be downloaded, just put the preferred language into the "subtitle_lang" variable. But make sure the language is avaiable first.

Before you can start it, you have to download N_m3u8DL-RE from here: https://github.com/nilaoda/N_m3u8DL-RE/releases. Get the lasted version binary and place it in the folder. Make sure its named corretly ("N_m3u8DL-RE.exe").

Also be sure you have ffmpeg installed.

After you have done that, just open a terminal and type

npm i

After that to start the script type

npm run start.

All the courses will be downloaded in a folder called "domestika_courses/{coursename}/".

Special Thanks

Special thanks to @Cybasaint for helping with the project and giving me access to his domestika account for testing.