Skip to content

3. Stream Video

Hanif Dwy Putra S edited this page Nov 5, 2021 · 1 revision

Do you want download streaming video? That's probably here.

Flow:

  1. Get anime basic information.
  2. Get extra anime information.
  3. Download

Why?

  1. Why we must get anime basic information first? Because OtakudesuInstance#getExtraAnime need anime slug (eg. borto-sub-indo).
  2. Why we must use extra anime information to download the stream video? Because stream video is only available on episode page.

Data:

If you're trying to download stream video, we're using PassThrough from node:stream as returned data.

You could save the video to your directory using PassThrough#pipe

Clone this wiki locally