ripping - weverse

notes

download

open the video in your browser and wait for it to load. next, open the wvg extension and select the license url that begins like this:

https://apis.naver.com/rmcnmv/aegis/intergratedLicenseV1?...

click decrypt to get the key. it should look something like this:

3f3405df9584e3e7d4b12c863d07df54:997b9bf92031365ef5357396e766a218

copy the mpd url and key from wvg and use them in the following command to begin downloading.

n-m3u8dl-re <url> --key <key> --no-log --auto-select -mt -M mkv --write-meta-json false --save-name vod

subtitles

open the dev tools, switch to the network tab and filter for vtt. right click the entry and select copy -> copy url. it should look something like this:

https://resources-rmcnmv.akamaized.net/weverse/c/read/v2/VOD_ALPHA/..._cp.vtt

mux in the subtitles and set the language metadata using one of the following commands.

single subtitle:

ffmpeg -i vod.mkv -i <url> -metadata:s:a:0 language=kor -metadata:s:s:0 language=<lang> -c copy mux.mkv

multiple subtitles:

ffmpeg -i vod.mkv -i <url> -i <url> -i <url> -map 0 -map 1 -map 2 -map 3 -metadata:s:a:0 language=kor \
-metadata:s:s:0 language=<lang> -metadata:s:s:1 language=<lang> -metadata:s:s:2 language=<lang> -c copy mux.mkv