Make sure you that have FFmpeg installed on your computer
Open viu.com and click on the episode you want to download, login if needed.
Launch JavaScript Console by clicking Control-Shift-J (Command-Option-J on mac) or Option-Command-C if you are using Safari
Paste this to the Console:
fileName = `'` + document.querySelector("body > div > div.wrap.clearfix > div.video-grid-m > div > div.video-detail > h1").textContent + " " + document.querySelector("body > div > div.wrap.clearfix > div.video-grid-m > div > div.video-detail > div.video-pro.ft18.clearfix > span > h2.video-update-epi").textContent + `'`
element = document.querySelector("video#bitmovinplayer-video-viu-player > source[src]").getAttribute('src')
replaced = "ffmpeg -protocol_whitelist concat,file,http,https,tcp,tls,crypto -i " + element.replace(/Layer3/g, 'Layer4') + " -c copy " + fileName + ".mp4"
console.log("Please paste the command into terminal: \n" + replaced)
Change the terminal directory to the path you wanted to download to and paste the command showed in Console.
Hit Enter and the Video will be downloaded in 1080p H.264 MP4 format.