Skip to content

MCTVR/viu.com-1080p-download

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

Viu.com 1080P Video Download Script with FFmpeg

Viu Premium subscription is not needed

Step 1

Make sure you that have FFmpeg installed on your computer

Step 2

Open viu.com and click on the episode you want to download, login if needed.

Step 3

Launch JavaScript Console by clicking Control-Shift-J (Command-Option-J on mac) or Option-Command-C if you are using Safari

Step 4

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)

Step 5

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published