View Single Post
  #85  
Old 02-15-2017, 03:49 AM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: Can somebody help get filmon rtmp code to play with livestreamer?


So far I have few sites that work for news channels.

There is not one site with all news channels where you have one way to see it all.

Here are few "high" news channels and you need url, wmsauthsign and useragent, for now.

http://www.giniko.com/country.php?id=217



FOR /f %%a in ('wmsAuth.exe') do set url=http://nimlive1.giniko.com/bbcnews/bbcnews.stream/playlist.m3u8?%%a
start wmove %url%
start /min ffplay -user-agent Mozilla/5.0 -i %url%



program wmsAuth;
{$APPTYPE CONSOLE}
uses windows,StrUtils,SysUtils,ShellApi,clipbrd;
var auth,s,s2,str,subs: ansistring;
i,j:integer;

procedure execw(CommandLine: string; CommandShow: Longint);
var pi: TProcessInformation;
si: TStartupInfo;
begin
FillChar(si, sizeof(si), #0);
si.cb := sizeof(si);
si.dwFlags := STARTF_USESHOWWINDOW;
si.wShowWindow := CommandShow;
CreateProcess(nil, PChar(CommandLine), nil, nil, False, NORMAL_PRIORITY_CLASS, nil, nil, si, pi);
WaitForSingleObject(pi.hProcess, INFINITE);
CloseHandle(pi.hProcess);
CloseHandle(pi.hThread);
end;

begin
execw( 'cmd.exe /C xidel -s -e //@src http://www.giniko.com/watch.php?id=27 | CLIP', SW_SHOWNORMAL);
str:= Clipboard.AsText;
subs:='wmsAuthSign=';
i:=ansipos( subs,str );
auth:='';
while str[i] <> chr(13) do
begin
auth:= auth + str[i];
inc( i );
end;
writeln(auth);
end.


http://www.videlibri.de/xidel.html


program CLB;
{$APPTYPE CONSOLE}
uses ClipBrd;
begin
writeln(Clipboard.AsText);
end.



C:\>xidel -s -e //@src http://www.giniko.com/watch.php?id=27 | CLIP

C:\>clb
http://c.statcounter.com/9849145/0/bb1b1fb0/1/
js/jquery.min.js
http://code.jquery.com/jquery-1.11.2.min.js
http://swf.livestreamingcdn.com/fpla...wplayer.min.js
http://swf.livestreamingcdn.com/fpla...r.hlsjs.min.js
http://swf.livestreamingcdn.com/swfo...n.1.0.2.min.js
js/hasflash.js
images/logo.png
images/rokulogo.jpg
logos/190x110/27.jpg
//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2FGin ikoTV&width&layout=button_count&action=like
&show_faces=true&share=true&height=21
http://nimlive1.giniko.com/bbcnews/b...EwOjQ2OjQ0IEFN
Jmhhc2hfdmFsdWU9VUlhdVFDZkoyNTgyTWdwSE9HbEgzQT09Jn ZhbGlkbWludXRlcz0xNDQw
logos/190x110/27.jpg
images/lscdn2.jpg
js/jquery.min.js
jsCarousel.js
/logos/190x110/216.jpg
/logos/190x110/26.png
/logos/190x110/460.png
/logos/190x110/217.jpg
/logos/190x110/93.jpg
/logos/190x110/188.jpg
/logos/190x110/74.jpg
/logos/190x110/102.jpg
/logos/190x110/24.png
/logos/190x110/2.jpg
/logos/190x110/297.png
/logos/190x110/68.jpg
/logos/190x110/675.jpg
/logos/190x110/461.png
/logos/190x110/635.png
/logos/190x110/205.jpg
/logos/190x110/186.jpg
/logos/190x110/394.png
/logos/190x110/228.jpg
/logos/190x110/363.png
http://billing.giniko.com/img/google...vailable-a.png
http://billing.giniko.com/img/and.png
http://billing.giniko.com/img/google...vailable-g.png
http://billing.giniko.com/img/gtv1.png
images/facebook-giniko.png
http://www.statswebtown.com/includes/webstat.js
js/jquery.superfish.js
js/jquery.tipsy.js
js/script.js
http://www.statswebtown.com/includes/webstat.js



C:\>wmsauth
wmsAuthSign=c2VydmVyX3RpbWU9Mi8xNS8yMDE3IDExOjE2Oj E2IEFNJmhhc2hfdmFsdWU9eEVDdEZlVnNoU2o4QVIrckZvNnFP dz09JnZhbGlkbWludXRl
cz0xNDQw
Reply With Quote