How to download video from Tonton website?

Last time, we watch TV3, TV9 and all media prima shows from their respective website. We can easily download video from their website. Now they combine all the TV channel into one site call Tonton. However,  we unable to cache their video using any download manger. The flash player uses Adobe HDS for streaming fragments via Akamai’s CDN. The magic consists of three steps: Getting the manifest describing the fragments. Downloading the fragments. Merging the fragments into a playable file.

So, I have created a script to download the video from Tonton website. Click here to download. Copy the password below.

Password:p7s09wf

After you have downloaded the bat file, copy it to your desktop or somewhere else and you’re good to go. Now you just need to get the manifest url.

Step 1: To get the manifest, use a recent version of Mozilla Firefox. Install a plugin called Firebug. After you have finish install the plugin, go to www.tonton.com.my

Step 2: Click on the video you wish to download and let the video start to play

Step 3: Quickly click on the Firebug icon and it will appears like this  Firebugicon

Firebugpanel

 

Step 4: In the filter box, enter f4m and press enter. The URL to the manifest should appear in the debugger window. Click on the first manifest and copy the url.

Step 5: Now just call the merge script with the manifest url. Just right click on the manifest url and select Copy Location. Your manifest url should look like this

http://hduealtmedia-f.akamaihd.net/z/my/Viostream/1A8F857F-E5E6-407C-B5DC-A0F9017C1729_hd.smil/manifest.f4m?geo=my&hdnea=st=1354086455~exp=1354172855~acl=/z/my/Viostream/1A8F857F-E5E6-407C-B5DC-A0F9017C1729_hd.smil*~hmac=2bfc6a7d27ab93436e2cd7e842237ba2748b5fb78d9243f03a2722b89505c8f3

Step 6: After you have copy the manifest url, open the .bat file that you have downloaded and paste the manifest in the window

Adobehdsmanifest

Step 7: Just select the option and press Enter.

Adobehdsauth

Step 9: Choose the quality of the video that you want to download and hot Enter. There are 3 options there

Adobehdsquality

Step 10: Next, if you want to change the default number of  fragments that download simultaneously, just simply insert the number and hit Enter.

Adobehdsfragments

Step 11: Insert n and Enter

Adobehdsproxy

Step 12: Insert n and Enter

Adobehdsstartfragment

Step 13: Insert n and Enter

Adobehdsdurations

Step 14: Insert n or y and Enter

Adobehdsdebug

Step 15: Insert n or y and Enter. Insert  y if you want to view it on VLC Player.

Adobehdsview

Step 16: Please wait while you video is downloading

Adobehdsdownloading

After your video have downloaded successfully, you can find your video on the same directory. Enjoy.