View Single Post
  #2  
Old 07-29-2017, 05:39 PM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: How to watch BBC World News from Giniko on VLC


you need useragent and wmsAuthSign found in html source.

I didn't manage to get useragent working with vlc, without useragent won't work, so I use ffplay.exe

If you work out useragent with vlc, post here how you did it. --http-user-agent= didn't work for me.

Here is link to something similar with more details how to compile this autoit script:

http://stream-recorder.com/forum/sho...32&postcount=4

Code:
runwait('cmd.exe /c curl.exe http://www.giniko.com/watch.php?id=216 | CLIP','',@SW_HIDE,'')
$sData = ClipGet()
$sData = StringTrimLeft($sData,StringInStr($sData,'?wmsAuthSign='))
$sData = StringTrimRight($sData,(StringLen($sData)+1)-StringInStr($sData,'"'))
$url = '-user_agent Mozilla/5.0 -i http://nimlive1.giniko.com/bbcworldnews/bbcworld/playlist.m3u8?' & $sData
Run('cmd.exe /c ffplay.exe ' & $url,'',@SW_HIDE)
Reply With Quote