Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

Downloading from voot.com

(http://stream-recorder.com/forum/showthread.php?t=20852)

prabhatec 04-04-2016 02:27 PM

Re: Downloading from voot.com


 
Quote:

Originally Posted by ampal16999 (Post 83625)
Thanks but downlaod as much as you can soon because you never know when it will stop working. I hope adownloder will also start to work again.

fr me adownlaoder not work but cmd work so fast !

flavorId/0_,khx9c03t,ytex0o2a,xzt2toko
Now the Red is 360p, Blue is 720p and green is 1080p.

These codes are same for all videos? or each m3u8 have diff codes?

ampal16999 04-04-2016 02:30 PM

Re: Downloading from voot.com


 
Quote:

Originally Posted by prabhatec (Post 83627)
fr me adownlaoder not work but cmd work so fast !

flavorId/0_,khx9c03t,ytex0o2a,xzt2toko
Now the Red is 360p, Blue is 720p and green is 1080p.

These codes are same for all videos? or each m3u8 have diff codes?

No those codes are different for all.

ampal16999 04-04-2016 02:31 PM

Re: Downloading from voot.com


 
Quote:

Originally Posted by renco (Post 83626)
For some reason, ABP route is not working for me in firefox. Is there any other way to get the m3u8 link?

use URLSnooper 2

prabhatec 04-04-2016 02:39 PM

Re: Downloading from voot.com


 
Quote:

Originally Posted by ampal16999 (Post 83628)
No those codes are different for all.

coz i used all of them frm these and getting all same clarity i mean like 360 p.. am i copying wrong code?


ampal16999 04-04-2016 02:46 PM

Re: Downloading from voot.com


 
Quote:

Originally Posted by prabhatec (Post 83630)
coz i used all of them frm these and getting all same clarity i mean like 360 p.. am i copying wrong code?


one of them should be 1080p and 720p as well But i'm not sure cause i don't use adblock, i use URLSnooper 2.

prabhatec 04-04-2016 02:48 PM

Re: Downloading from voot.com


 
Quote:

Originally Posted by ampal16999 (Post 83631)
one of them should be 1080p and 720p as well But i'm not sure cause i don't use adblock, i use URLSnooper 2.

ill try url snooper And let u know thnx for the reply

prabhatec 04-04-2016 03:04 PM

Re: Downloading from voot.com


 
Quote:

Originally Posted by ampal16999 (Post 83631)
one of them should be 1080p and 720p as well But i'm not sure cause i don't use adblock, i use URLSnooper 2.

Thxn url snooper is the best! :) Thnx for all the help bro

renco 04-04-2016 03:17 PM

Re: Downloading from voot.com


 
Quote:

Originally Posted by ampal16999 (Post 83629)
use URLSnooper 2

Thanks for all the help bro !

renco 04-04-2016 03:34 PM

Re: Downloading from voot.com


 
after "flavorId/0_" I am getting only 2 codes i.e. 360p and 720p. Is there any reason why 1080p code is not showing up ?

ampal16999 04-04-2016 04:38 PM

Re: Downloading from voot.com


 
Quote:

Originally Posted by renco (Post 83635)
after "flavorId/0_" I am getting only 2 codes i.e. 360p and 720p. Is there any reason why 1080p code is not showing up ?

Some shows only have max 720p, mostly old shows the ones which aired before 2012 cause at that time colors hd was not launched.

zapac 04-04-2016 07:14 PM

Re: Downloading from voot.com


 
Hi...guyzz I need a way to get encryption.key file of voot.com. I have downloaded video but its encrypted

prabhatec 04-04-2016 10:29 PM

Re: Downloading from voot.com


 
Quote:

Originally Posted by zapac (Post 83640)
Hi...guyzz I need a way to get encryption.key file of voot.com. I have downloaded video but its encrypted

forget downloading from adownloader! pls see the methods from page 2-3-4-5

I hope some 1 will program CMD same like Hotstar

pashok326 04-05-2016 12:39 AM

Re: Downloading from voot.com


 
Quote:

Originally Posted by zapac (Post 83640)
Hi...guyzz I need a way to get encryption.key file of voot.com. I have downloaded video but its encrypted

that to get encryption.key
example for ampal16999 method
marked as red

Code:

http://video.voot.com/enc/fhls/p/1982551/sp/198255100/serveFlavor/entryId/0_g88m6n8c/v/2/pv/1/flavorId/0_xzt2toko/name/a.mp4/encryption.key
try encryption.key for your link
it should suit

rad 04-05-2016 02:04 AM

Re: Downloading from voot.com


 
Quote:

Originally Posted by ampal16999 (Post 83622)
Here is the real one, just copy the red into the mod one.

Code:

http://video.voot.com/edash/p/1982551/sp/198255100/serveFlavor/entryId/0_9vihmy1t/v/2/pv/1/flavorId/0_,zcoivt47,8b9w1mxq,f8pgrkhp,/forceproxy/true/name/a.mp4.urlset/manifest.mpd
The mod one

Code:

http://video.voot.com/enc/fhls/p/1982551/sp/198255100/serveFlavor/entryId/0_9vihmy1t/v/2/pv/1/flavorId/0_f8pgrkhp/name/a.mp4/index.m3u8
Thats it.


Hello. I want to download this video from voot.com

http://www.voot.com/shows/khatron-ke...-finale/389224

Initially I used to paste the link in 9xbuddy.com and it used to work perfectly but not now due to DRM Protection.

I read this thread but i still cannot understand the procedure.

I use Net Transport software for getting the URL. It shows a lot of URLs but only 2 links have .mp4 extention at the end so i assuming that they are correct ones since others have .m4s extention.

I got this link initially

http://video.voot.com/edash/p/198255...init-f1-a1.mp4

which i later modified to this reading the procedure here. (for 1080 p)

http://video.voot.com/edash/p/198255.../1/flavorId/0_ o8ql2x0l /name/a.mp4/index.m3u8

I paste this link in Internet Download Manager but it gives this error. --- Cannot download this file. Bad request.

I am still not able to understand what to do after the getting the first link and how to modify it for getting m3u8 link. Is ' /a.mp4/index.m3u8 ' same for all videos?

Please provide a detailed procedure. I am new to this. Thank you.

rad 04-05-2016 02:10 AM

Re: Downloading from voot.com


 
Quote:

Originally Posted by ampal16999 (Post 83622)
Here is the real one, just copy the red into the mod one.

Code:

http://video.voot.com/edash/p/1982551/sp/198255100/serveFlavor/entryId/0_9vihmy1t/v/2/pv/1/flavorId/0_,zcoivt47,8b9w1mxq,f8pgrkhp,/forceproxy/true/name/a.mp4.urlset/manifest.mpd
The mod one

Code:

http://video.voot.com/enc/fhls/p/1982551/sp/198255100/serveFlavor/entryId/0_9vihmy1t/v/2/pv/1/flavorId/0_f8pgrkhp/name/a.mp4/index.m3u8
Thats it.


Hello. I want to download this video from voot.com

http://www.voot.com/shows/khatron-ke...-finale/389224

Initially I used to paste the link in 9xbuddy.com and it used to work perfectly but not now due to DRM Protection.

I read this thread but i still cannot understand the procedure.

I use Net Transport software for getting the URL. It shows a lot of URLs but only 2 links have .mp4 extention at the end so i assuming that they are correct ones since others have .m4s extention.

I got this link initially

http://video.voot.com/edash/p/198255...init-f1-a1.mp4

which i later modified to this reading the procedure here. (for 1080 p)

http://video.voot.com/edash/p/198255.../1/flavorId/0_ o8ql2x0l /name/a.mp4/index.m3u8

I paste this link in Internet Download Manager but it gives this error. --- Cannot download this file. Bad request.

I am still not able to understand what to do after the getting the first link and how to modify it for getting m3u8 link. Is ' /a.mp4/index.m3u8 ' same for all videos?

Please provide a detailed procedure. I am new to this. Thank you.

prabhatec 04-05-2016 03:01 AM

Re: Downloading from voot.com


 
url snooper wont work with laptops or pc who using wireless internet! as adapter may not dectect! :(

pashok326 04-05-2016 03:13 AM

Re: Downloading from voot.com


 
Quote:

Originally Posted by prabhatec (Post 83649)
url snooper wont work with laptops or pc who using wireless internet! as adapter may not dectect! :(

I using developer tools in google chrome
in developer tools watching network tab
there shows all links that needs

prabhatec 04-05-2016 03:28 AM

Re: Downloading from voot.com


 
Quote:

Originally Posted by pashok326 (Post 83650)
I using developer tools in google chrome
in developer tools watching network tab
there shows all links that needs

screenshot pls?
its ok snooper works fine in my home pc which is wired network but in office pc its not dectecting as i am having wireless internet card

pashok326 04-05-2016 03:41 AM

Re: Downloading from voot.com


 
Quote:

Originally Posted by prabhatec (Post 83651)
screenshot pls?
its ok snooper works fine in my home pc which is wired network but in office pc its not dectecting as i am having wireless internet card





there from network list you search link that you need,
right-click-mouse on the link,
shows context menu in that click 'Copy Link Address'

difficult about a simple :o

biezom 04-05-2016 04:00 AM

Re: Downloading from voot.com


 
hi

two codes php and python

no need vpn it works without indian ip

Code:

<?php

$idcontent = substr($argv[1], -6);
$data = '{"initObj":{"Locale":{"LocaleLanguage":"","LocaleCountry":"","LocaleDevice":"","LocaleUserState":"Unknown"},"Platform":"Web","SiteGuid":"","DomainID":0,"UDID":"","ApiUser":"tvpapi_225","ApiPass":"11111"},"MediaID":"' . $idcontent . '","mediaType":0,"picSize":"full","withDynamic":false}';

$time_start = microtime(true);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'http://tvpapi-as.ott.kaltura.com/v3_4/gateways/jsonpostgw.aspx?m=GetMediaInfo');
curl_setopt($ch, CURLOPT_POST, 1); 
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json;charset=utf-8'));
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch, CURLOPT_REFERER, $argv[1]);
curl_setopt($ch, CURLOPT_ENCODING , "gzip");
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (X11; Linux i686; rv:41.0) Gecko/20100101 Firefox/41.0 Iceweasel/41.0");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($ch);
curl_close ($ch);

preg_match('/"Format":"dash Main".*?CoGuid":"(.*?)"/', $result, $ids);
preg_match('/"MediaName":"(.*?)"/', $result, $name);
$name= str_ireplace(' ', '-', $name[1]);

preg_match('/(.*?)_0_/', $ids[1], $entryId);
preg_match('/(.*?),/', $ids[1], $low);
preg_match('/0_.*?_(.*)/', $low[1], $lflavorId);
preg_match('/,(.*?),/', $ids[1], $medium);
preg_match('/0_.*?_(.*)/', $medium[1], $mflavorId);
preg_match('/.*?,.*?,(.*)/', $ids[1], $high);
preg_match('/0_.*?_(.*)/', $high[1], $hflavorId);

$link = 'http://video.voot.com/enc/fhls/p/1982551/sp/198255100/serveFlavor/entryId/' . $entryId[1] . '/v/2/pv/1/flavorId/' . $hflavorId[1] . '/name/a.mp4/index.m3u8';

echo "$link\n\n";

echo "Starting  livestreamer...\n\n";
        echo shell_exec("livestreamer \"hls://$link\" best -o $name.ts&");
        echo "Done.\n";

?>



Code:

import requests
import re
import os
import sys

idcontent= sys.argv[1][-6:]
pageUrl2= 'http://tvpapi-as.ott.kaltura.com/v3_4/gateways/jsonpostgw.aspx?m=GetMediaInfo'
headers = {'User-Agent': 'Mozilla/5.0 (X11; Linux i686; rv:41.0) Gecko/20100101 Firefox/41.0 Iceweasel/41.0.2', 'Referer': 'http://www.voot.com/', 'Content-Type': 'application/json;charset=utf-8'}
data= '{"initObj":{"Locale":{"LocaleLanguage":"","LocaleCountry":"","LocaleDevice":"","LocaleUserState":"Unknown"},"Platform":"Web","SiteGuid":"","DomainID":0,"UDID":"","ApiUser":"tvpapi_225","ApiPass":"11111"},"MediaID":"' + idcontent + '","mediaType":0,"picSize":"full","withDynamic":false}'

source = requests.post(pageUrl2, headers=headers, data=data)

name = re.findall('"MediaName":"(.*?)"', source.text)[0].replace(' ', '-')
ids=',' + re.findall('"Format":"dash Main".*?CoGuid":"(.*?)"', source.text)[0] + ','

quality = re.search(r',(.*?),(.*?),(.*?),', ids)

entryIdflavorId= re.search(r'(0_.*?)\_(0_.*)', quality.group(3))

link = 'http://video.voot.com/enc/fhls/p/1982551/sp/198255100/serveFlavor/entryId/' + entryIdflavorId.group(1) + '/v/2/pv/1/flavorId/' + entryIdflavorId.group(2) + '/name/a.mp4/index.m3u8'

print link

command = 'livestreamer  "hls://' + link + '" best -o ' + name + '.ts'
os.system(command)



Code:

php voot.php "http://www.voot.com/shows/khatron-ke-khiladi-s08/8/368214/the-grand-finale/389224"
Code:

http://video.voot.com/enc/fhls/p/1982551/sp/198255100/serveFlavor/entryId/0_vv9bzx3d/v/2/pv/1/flavorId/0_o8ql2x0l/name/a.mp4/index.m3u8

Starting  livestreamer...

[download][..ason-08---Episode-20.ts] Written 6.5 MB (9s @ 708.4 KB/s)


Code:

python voot.py "http://www.voot.com/shows/khatron-ke-khiladi-s08/8/368214/the-grand-finale/389224"
Code:

http://video.voot.com/enc/fhls/p/1982551/sp/198255100/serveFlavor/entryId/0_vv9bzx3d/v/2/pv/1/flavorId/0_o8ql2x0l/name/a.mp4/index.m3u8
[cli][info] Found matching plugin stream for URL hls://http://video.voot.com/enc/fhls/p/1982551/sp/198255100/serveFlavor/entryId/0_vv9bzx3d/v/2/pv/1/flavorId/0_o8ql2x0l/name/a.mp4/index.m3u8
[cli][info] Available streams: live (worst, best)
[cli][info] Opening stream: live (hls)
[download][..ason-08---Episode-20.ts] Written 9.8 MB (12s @ 798.5 KB/s)


surya987 04-05-2016 04:16 AM

Re: Downloading from voot.com


 
the method is bit tricky but simple...

1st play video normally in your browser and copy the mpd link from network tab in devolper tool by pressing F12..

for example for this episode http://www.voot.com/shows/khatron-ke...-finale/389224

the mpd link is

Code:

http://video.voot.com/edash/p/1982551/sp/198255100/serveFlavor/entryId/0_vv9bzx3d/v/2/pv/1/flavorId/0_,s70wvy0u,rq528j27,o8ql2x0l,/forceproxy/true/name/a.mp4.urlset/manifest.mpd
copy the last code in red only its 1080p and green is 720p

now change your browser useragent to ipad or iphone and play video and copy the m3u8 link from network tab of devolper tool

the m3u8 link for episode is

Code:

http://video.voot.com/enc/fhls/p/1982551/sp/198255100/serveFlavor/entryId/0_vv9bzx3d/v/2/pv/1/flavorId/0_bdfpvmpv/name/a.mp4/index.m3u8
now replace the blue code with red code (1080p) or to green (720p)

the link will look like this now for 1080p

Code:

http://video.voot.com/enc/fhls/p/1982551/sp/198255100/serveFlavor/entryId/0_vv9bzx3d/v/2/pv/1/flavorId/0_o8ql2x0l/name/a.mp4/index.m3u8
simple open the cmd as administrator and go to livestreamer directory using CD command and use the command

Code:

livestreamer "hls://http://video.voot.com/enc/fhls/p/1982551/sp/198255100/serveFlavor/entryId/0_vv9bzx3d/v/2/pv/1/flavorId/0_o8ql2x0l/name/a.mp4/index.m3u8" best -o "output.ts"
you are done Enjoy...


pashok326 04-05-2016 04:18 AM

Re: Downloading from voot.com


 
Quote:

Originally Posted by biezom (Post 83653)
hi

two codes php and python

no need vpn it works without indian ip

Code:

<?php

$idcontent = substr($argv[1], -6);
$data = '{"initObj":{"Locale":{"LocaleLanguage":"","LocaleCountry":"","LocaleDevice":"","LocaleUserState":"Unknown"},"Platform":"Web","SiteGuid":"","DomainID":0,"UDID":"","ApiUser":"tvpapi_225","ApiPass":"11111"},"MediaID":"' . $idcontent . '","mediaType":0,"picSize":"full","withDynamic":false}';

$time_start = microtime(true);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'http://tvpapi-as.ott.kaltura.com/v3_4/gateways/jsonpostgw.aspx?m=GetMediaInfo');
curl_setopt($ch, CURLOPT_POST, 1); 
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json;charset=utf-8'));
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch, CURLOPT_REFERER, $argv[1]);
curl_setopt($ch, CURLOPT_ENCODING , "gzip");
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (X11; Linux i686; rv:41.0) Gecko/20100101 Firefox/41.0 Iceweasel/41.0");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($ch);
curl_close ($ch);

preg_match('/"Format":"dash Main".*?CoGuid":"(.*?)"/', $result, $ids);
preg_match('/"MediaName":"(.*?)"/', $result, $name);
$name= str_ireplace(' ', '-', $name[1]);

preg_match('/(.*?)_0_/', $ids[1], $entryId);
preg_match('/(.*?),/', $ids[1], $low);
preg_match('/0_.*?_(.*)/', $low[1], $lflavorId);
preg_match('/,(.*?),/', $ids[1], $medium);
preg_match('/0_.*?_(.*)/', $medium[1], $mflavorId);
preg_match('/.*?,.*?,(.*)/', $ids[1], $high);
preg_match('/0_.*?_(.*)/', $high[1], $hflavorId);

$link = 'http://video.voot.com/enc/fhls/p/1982551/sp/198255100/serveFlavor/entryId/' . $entryId[1] . '/v/2/pv/1/flavorId/' . $hflavorId[1] . '/name/a.mp4/index.m3u8';

echo "$link\n\n";

echo "Starting  livestreamer...\n\n";
        echo shell_exec("livestreamer \"hls://$link\" best -o $name.ts&");
        echo "Done.\n";

?>



Code:

import requests
import re
import os
import sys

idcontent= sys.argv[1][-6:]
pageUrl2= 'http://tvpapi-as.ott.kaltura.com/v3_4/gateways/jsonpostgw.aspx?m=GetMediaInfo'
headers = {'User-Agent': 'Mozilla/5.0 (X11; Linux i686; rv:41.0) Gecko/20100101 Firefox/41.0 Iceweasel/41.0.2', 'Referer': 'http://www.voot.com/', 'Content-Type': 'application/json;charset=utf-8'}
data= '{"initObj":{"Locale":{"LocaleLanguage":"","LocaleCountry":"","LocaleDevice":"","LocaleUserState":"Unknown"},"Platform":"Web","SiteGuid":"","DomainID":0,"UDID":"","ApiUser":"tvpapi_225","ApiPass":"11111"},"MediaID":"' + idcontent + '","mediaType":0,"picSize":"full","withDynamic":false}'

source = requests.post(pageUrl2, headers=headers, data=data)

name = re.findall('"MediaName":"(.*?)"', source.text)[0].replace(' ', '-')
ids=',' + re.findall('"Format":"dash Main".*?CoGuid":"(.*?)"', source.text)[0] + ','

quality = re.search(r',(.*?),(.*?),(.*?),', ids)

entryIdflavorId= re.search(r'(0_.*?)\_(0_.*)', quality.group(3))

link = 'http://video.voot.com/enc/fhls/p/1982551/sp/198255100/serveFlavor/entryId/' + entryIdflavorId.group(1) + '/v/2/pv/1/flavorId/' + entryIdflavorId.group(2) + '/name/a.mp4/index.m3u8'

print link

command = 'livestreamer  "hls://' + link + '" best -o ' + name + '.ts'
os.system(command)



Code:

php voot.php "http://www.voot.com/shows/khatron-ke-khiladi-s08/8/368214/the-grand-finale/389224"
Code:

http://video.voot.com/enc/fhls/p/1982551/sp/198255100/serveFlavor/entryId/0_vv9bzx3d/v/2/pv/1/flavorId/0_o8ql2x0l/name/a.mp4/index.m3u8

Starting  livestreamer...

[download][..ason-08---Episode-20.ts] Written 6.5 MB (9s @ 708.4 KB/s)


Code:

python voot.py "http://www.voot.com/shows/khatron-ke-khiladi-s08/8/368214/the-grand-finale/389224"
Code:

http://video.voot.com/enc/fhls/p/1982551/sp/198255100/serveFlavor/entryId/0_vv9bzx3d/v/2/pv/1/flavorId/0_o8ql2x0l/name/a.mp4/index.m3u8
[cli][info] Found matching plugin stream for URL hls://http://video.voot.com/enc/fhls/p/1982551/sp/198255100/serveFlavor/entryId/0_vv9bzx3d/v/2/pv/1/flavorId/0_o8ql2x0l/name/a.mp4/index.m3u8
[cli][info] Available streams: live (worst, best)
[cli][info] Opening stream: live (hls)
[download][..ason-08---Episode-20.ts] Written 9.8 MB (12s @ 798.5 KB/s)


maybe can you modify livestreamer for voot.com
like that was made for hotstar.com (hotstarlivestreamer) :rolleyes: ?

I as many others on this forum not so familiar with php and python :confused:

biezom 04-05-2016 04:25 AM

Re: Downloading from voot.com


 
Quote:

Originally Posted by pashok326 (Post 83655)
maybe can you modify livestreamer for voot.com
like that was made for hotstar.com (hotstarlivestreamer) :rolleyes: ?

I as many others on this forum not so familiar with php and python :confused:


hotstarlivestreamer it's not a modification of livestreamer
it just uses two tools php and livestreamer
no time for the moment but you can use the php code in the php folder in tools of hotstarlivestreamer
you need also add
Code:

http://www.mediafire.com/file/73pmlxqeuwdwdep/PHP.ini
in php folder to enable phpcurl

pashok326 04-05-2016 04:27 AM

Re: Downloading from voot.com


 
Quote:

Originally Posted by biezom (Post 83656)
hotstarlivestreamer it's not a modification of livestreamer
it just uses two tools php and livestreamer
no time for the moment but you can use the php code in the php folder in tools of hotstarlivestreamer
you need also add
Code:

http://www.mediafire.com/file/73pmlxqeuwdwdep/PHP.ini
in php folder to enable phpcurl

ohh! Thanks bro. I will use it! ;)

rad 04-05-2016 04:49 AM

Re: Downloading from voot.com


 
Quote:

Originally Posted by surya987 (Post 83654)
the method is bit tricky but simple...

1st play video normally in your browser and copy the mpd link from network tab in devolper tool by pressing F12..

for example for this episode http://www.voot.com/shows/khatron-ke...-finale/389224

the mpd link is

Code:

http://video.voot.com/edash/p/1982551/sp/198255100/serveFlavor/entryId/0_vv9bzx3d/v/2/pv/1/flavorId/0_,s70wvy0u,rq528j27,o8ql2x0l,/forceproxy/true/name/a.mp4.urlset/manifest.mpd
copy the last code in red only its 1080p and green is 720p

now change your browser useragent to ipad or iphone and play video and copy the m3u8 link from network tab of devolper tool

the m3u8 link for episode is

Code:

http://video.voot.com/enc/fhls/p/1982551/sp/198255100/serveFlavor/entryId/0_vv9bzx3d/v/2/pv/1/flavorId/0_bdfpvmpv/name/a.mp4/index.m3u8
now replace the blue code with red code (1080p) or to green (720p)

the link will look like this now for 1080p

Code:

http://video.voot.com/enc/fhls/p/1982551/sp/198255100/serveFlavor/entryId/0_vv9bzx3d/v/2/pv/1/flavorId/0_o8ql2x0l/name/a.mp4/index.m3u8
simple open the cmd as administrator and go to livestreamer directory using CD command and use the command

Code:

livestreamer "hls://http://video.voot.com/enc/fhls/p/1982551/sp/198255100/serveFlavor/entryId/0_vv9bzx3d/v/2/pv/1/flavorId/0_o8ql2x0l/name/a.mp4/index.m3u8" best -o "output.ts"
you are done Enjoy...



Thank you for your reply. I did that but downloading stops in between
this is the error i get


[download][video.ts] Written 285.3 MB (37m44s @ 129.2 KB/s) [
cli][error] Error when reading from stream: Read timeout
[cli][info] Stream ended

C:\Users\user>
C:\Users\user>
C:\Users\user>

What should i do?

pashok326 04-05-2016 05:03 AM

Re: Downloading from voot.com


 
Quote:

Originally Posted by biezom (Post 83653)
Code:

<?php

$idcontent = substr($argv[1], -6);
$data = '{"initObj":{"Locale":{"LocaleLanguage":"","LocaleCountry":"","LocaleDevice":"","LocaleUserState":"Unknown"},"Platform":"Web","SiteGuid":"","DomainID":0,"UDID":"","ApiUser":"tvpapi_225","ApiPass":"11111"},"MediaID":"' . $idcontent . '","mediaType":0,"picSize":"full","withDynamic":false}';

$time_start = microtime(true);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'http://tvpapi-as.ott.kaltura.com/v3_4/gateways/jsonpostgw.aspx?m=GetMediaInfo');
curl_setopt($ch, CURLOPT_POST, 1); 
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json;charset=utf-8'));
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch, CURLOPT_REFERER, $argv[1]);
curl_setopt($ch, CURLOPT_ENCODING , "gzip");
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (X11; Linux i686; rv:41.0) Gecko/20100101 Firefox/41.0 Iceweasel/41.0");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($ch);
curl_close ($ch);

preg_match('/"Format":"dash Main".*?CoGuid":"(.*?)"/', $result, $ids);
preg_match('/"MediaName":"(.*?)"/', $result, $name);
$name= str_ireplace(' ', '-', $name[1]);

preg_match('/(.*?)_0_/', $ids[1], $entryId);
preg_match('/(.*?),/', $ids[1], $low);
preg_match('/0_.*?_(.*)/', $low[1], $lflavorId);
preg_match('/,(.*?),/', $ids[1], $medium);
preg_match('/0_.*?_(.*)/', $medium[1], $mflavorId);
preg_match('/.*?,.*?,(.*)/', $ids[1], $high);
preg_match('/0_.*?_(.*)/', $high[1], $hflavorId);

$link = 'http://video.voot.com/enc/fhls/p/1982551/sp/198255100/serveFlavor/entryId/' . $entryId[1] . '/v/2/pv/1/flavorId/' . $hflavorId[1] . '/name/a.mp4/index.m3u8';

echo "$link\n\n";

echo "Starting  livestreamer...\n\n";
        echo shell_exec("livestreamer \"hls://$link\" best -o $name.ts&");
        echo "Done.\n";

?>

Code:

php voot.php "http://www.voot.com/shows/khatron-ke-khiladi-s08/8/368214/the-grand-finale/389224"
Code:

http://video.voot.com/enc/fhls/p/1982551/sp/198255100/serveFlavor/entryId/0_vv9bzx3d/v/2/pv/1/flavorId/0_o8ql2x0l/name/a.mp4/index.m3u8

Starting  livestreamer...

[download][..ason-08---Episode-20.ts] Written 6.5 MB (9s @ 708.4 KB/s)




I tried your php. What could be the problem?

biezom 04-05-2016 05:10 AM

Re: Downloading from voot.com


 
Quote:

Originally Posted by pashok326 (Post 83659)


I tried your php. What could be the problem?

place voot.php in php folder

and go in command prompt in php folder

Code:

cd C:\hotstarsportslivestreamer\tools\php5.4

pashok326 04-05-2016 05:16 AM

Re: Downloading from voot.com


 
Quote:

Originally Posted by biezom (Post 83660)
place voot.php in php folder

and go in command prompt in php folder

Code:

cd C:\hotstarsportslivestreamer\tools\php5.4

alright... and what next?
please step by step, sorry :)

biezom 04-05-2016 05:17 AM

Re: Downloading from voot.com


 
Quote:

Originally Posted by pashok326 (Post 83661)
alright... and what next?
please step by step, sorry :)

Code:

php voot.php "http://www.voot.com/shows/khatron-ke-khiladi-s08/8/368214/the-grand-finale/389224"

rad 04-05-2016 05:18 AM

Re: Downloading from voot.com


 
Quote:

Originally Posted by biezom (Post 83653)
hi

two codes php and python

no need vpn it works without indian ip

Code:

<?php

$idcontent = substr($argv[1], -6);
$data = '{"initObj":{"Locale":{"LocaleLanguage":"","LocaleCountry":"","LocaleDevice":"","LocaleUserState":"Unknown"},"Platform":"Web","SiteGuid":"","DomainID":0,"UDID":"","ApiUser":"tvpapi_225","ApiPass":"11111"},"MediaID":"' . $idcontent . '","mediaType":0,"picSize":"full","withDynamic":false}';

$time_start = microtime(true);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'http://tvpapi-as.ott.kaltura.com/v3_4/gateways/jsonpostgw.aspx?m=GetMediaInfo');
curl_setopt($ch, CURLOPT_POST, 1); 
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json;charset=utf-8'));
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
curl_setopt($ch, CURLOPT_REFERER, $argv[1]);
curl_setopt($ch, CURLOPT_ENCODING , "gzip");
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (X11; Linux i686; rv:41.0) Gecko/20100101 Firefox/41.0 Iceweasel/41.0");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($ch);
curl_close ($ch);

preg_match('/"Format":"dash Main".*?CoGuid":"(.*?)"/', $result, $ids);
preg_match('/"MediaName":"(.*?)"/', $result, $name);
$name= str_ireplace(' ', '-', $name[1]);

preg_match('/(.*?)_0_/', $ids[1], $entryId);
preg_match('/(.*?),/', $ids[1], $low);
preg_match('/0_.*?_(.*)/', $low[1], $lflavorId);
preg_match('/,(.*?),/', $ids[1], $medium);
preg_match('/0_.*?_(.*)/', $medium[1], $mflavorId);
preg_match('/.*?,.*?,(.*)/', $ids[1], $high);
preg_match('/0_.*?_(.*)/', $high[1], $hflavorId);

$link = 'http://video.voot.com/enc/fhls/p/1982551/sp/198255100/serveFlavor/entryId/' . $entryId[1] . '/v/2/pv/1/flavorId/' . $hflavorId[1] . '/name/a.mp4/index.m3u8';

echo "$link\n\n";

echo "Starting  livestreamer...\n\n";
        echo shell_exec("livestreamer \"hls://$link\" best -o $name.ts&");
        echo "Done.\n";

?>



Code:

import requests
import re
import os
import sys

idcontent= sys.argv[1][-6:]
pageUrl2= 'http://tvpapi-as.ott.kaltura.com/v3_4/gateways/jsonpostgw.aspx?m=GetMediaInfo'
headers = {'User-Agent': 'Mozilla/5.0 (X11; Linux i686; rv:41.0) Gecko/20100101 Firefox/41.0 Iceweasel/41.0.2', 'Referer': 'http://www.voot.com/', 'Content-Type': 'application/json;charset=utf-8'}
data= '{"initObj":{"Locale":{"LocaleLanguage":"","LocaleCountry":"","LocaleDevice":"","LocaleUserState":"Unknown"},"Platform":"Web","SiteGuid":"","DomainID":0,"UDID":"","ApiUser":"tvpapi_225","ApiPass":"11111"},"MediaID":"' + idcontent + '","mediaType":0,"picSize":"full","withDynamic":false}'

source = requests.post(pageUrl2, headers=headers, data=data)

name = re.findall('"MediaName":"(.*?)"', source.text)[0].replace(' ', '-')
ids=',' + re.findall('"Format":"dash Main".*?CoGuid":"(.*?)"', source.text)[0] + ','

quality = re.search(r',(.*?),(.*?),(.*?),', ids)

entryIdflavorId= re.search(r'(0_.*?)\_(0_.*)', quality.group(3))

link = 'http://video.voot.com/enc/fhls/p/1982551/sp/198255100/serveFlavor/entryId/' + entryIdflavorId.group(1) + '/v/2/pv/1/flavorId/' + entryIdflavorId.group(2) + '/name/a.mp4/index.m3u8'

print link

command = 'livestreamer  "hls://' + link + '" best -o ' + name + '.ts'
os.system(command)



Code:

php voot.php "http://www.voot.com/shows/khatron-ke-khiladi-s08/8/368214/the-grand-finale/389224"
Code:

http://video.voot.com/enc/fhls/p/1982551/sp/198255100/serveFlavor/entryId/0_vv9bzx3d/v/2/pv/1/flavorId/0_o8ql2x0l/name/a.mp4/index.m3u8

Starting  livestreamer...

[download][..ason-08---Episode-20.ts] Written 6.5 MB (9s @ 708.4 KB/s)


Code:

python voot.py "http://www.voot.com/shows/khatron-ke-khiladi-s08/8/368214/the-grand-finale/389224"
Code:

http://video.voot.com/enc/fhls/p/1982551/sp/198255100/serveFlavor/entryId/0_vv9bzx3d/v/2/pv/1/flavorId/0_o8ql2x0l/name/a.mp4/index.m3u8
[cli][info] Found matching plugin stream for URL hls://http://video.voot.com/enc/fhls/p/1982551/sp/198255100/serveFlavor/entryId/0_vv9bzx3d/v/2/pv/1/flavorId/0_o8ql2x0l/name/a.mp4/index.m3u8
[cli][info] Available streams: live (worst, best)
[cli][info] Opening stream: live (hls)
[download][..ason-08---Episode-20.ts] Written 9.8 MB (12s @ 798.5 KB/s)


thank you very much for the reply but i am not familiar with php and python. should i just paste your codes in CMD or will i have to install something for php and python. i tried it with livestreamer but the download stops in between. it gives read timeout error.

pashok326 04-05-2016 05:24 AM

Re: Downloading from voot.com


 
Quote:

Originally Posted by biezom (Post 83662)
Code:

php voot.php "http://www.voot.com/shows/khatron-ke-khiladi-s08/8/368214/the-grand-finale/389224"



:(

sscomp32 04-05-2016 05:34 AM

Re: Downloading from voot.com


 
Quote:

Originally Posted by rad (Post 83658)
Thank you for your reply. I did that but downloading stops in between
this is the error i get


[download][video.ts] Written 285.3 MB (37m44s @ 129.2 KB/s) [
cli][error] Error when reading from stream: Read timeout
[cli][info] Stream ended

C:\Users\user>
C:\Users\user>
C:\Users\user>

What should i do?

This happens due to a connection problem.

Thank you so much pashok326 for this method to download from voot. Working brilliantly.

biezom 04-05-2016 05:36 AM

Re: Downloading from voot.com


 
Quote:

Originally Posted by pashok326 (Post 83664)


:(

1)
Code:

cd C:\Program Files\Livestreamer\
2)
Code:

C:\hotstarsportslivestreamer\tools\php5.4\php C:\hotstarsportslivestreamer\tools\php5.4\voot.php "http://www.voot.com/shows/khatron-ke-khiladi-s08/8/368214/the-grand-finale/389224"

rad 04-05-2016 05:38 AM

Re: Downloading from voot.com


 
Quote:

Originally Posted by sscomp32 (Post 83665)
This happens due to a connection problem.

Thank you so much pashok326 for this method to download from voot. Working brilliantly.

Possible but My internet connection is stable. Where does the donloaded video gets saved? and in which format?

prabhatec 04-05-2016 05:38 AM

Re: Downloading from voot.com


 
Quote:

Originally Posted by biezom (Post 83666)
1)
Code:

cd C:\Program Files\Livestreamer\
2)
Code:

C:\hotstarsportslivestreamer\tools\php5.4\php C:\hotstarsportslivestreamer\tools\php5.4\voot.php "http://www.voot.com/shows/khatron-ke-khiladi-s08/8/368214/the-grand-finale/389224"

i wish if u can make a Bat same like hotstar :)

sscomp32 04-05-2016 05:42 AM

Re: Downloading from voot.com


 
Quote:

Originally Posted by rad (Post 83667)
Possible but My internet connection is stable. Where does the donloaded video gets saved? and in which format?

Then i cant say anything because this error means connection error.
The video is saved in the folder you installed livestreamer and in .ts format.

pashok326 04-05-2016 05:44 AM

Re: Downloading from voot.com


 
Quote:

Originally Posted by biezom (Post 83666)
1)
Code:

cd C:\Program Files\Livestreamer\
2)
Code:

C:\hotstarsportslivestreamer\tools\php5.4\php C:\hotstarsportslivestreamer\tools\php5.4\voot.php "http://www.voot.com/shows/khatron-ke-khiladi-s08/8/368214/the-grand-finale/389224"

I'm stupid. Thanks for patience.
Now is all done! :rolleyes:

rad 04-05-2016 05:48 AM

Re: Downloading from voot.com


 
Quote:

Originally Posted by pashok326 (Post 83670)
I'm stupid. Thanks for patience.
Now is all done! :rolleyes:

Can you please explain me this procedure of downloading by hotstarlivestream. Also how to convert .ts file into .mp4 format?

prabhatec 04-05-2016 05:54 AM

Re: Downloading from voot.com


 
Quote:

Originally Posted by rad (Post 83671)
Can you please explain me this procedure of downloading by hotstarlivestream. Also how to convert .ts file into .mp4 format?

i followed This!

https://www.youtube.com/watch?v=fFlUvl2qOHI

rad 04-05-2016 05:57 AM

Re: Downloading from voot.com


 
Quote:

Originally Posted by prabhatec (Post 83672)

This video is not available :/


All times are GMT -6. The time now is 01:15 PM.