Hi guys!
Im very sorry, but i need help with my script. Im not yet confortable with auto it, but im trying to make a script to convert http links to rtmp links. To simpifly, i want a script that when given, for example, the link "http://www.casadossegredos.tv/tvi" the script will return "rtmp://206.190.130.28/stream/TVI909090909?id=68969"
this is what i've done until now:
Im very sorry, but i need help with my script. Im not yet confortable with auto it, but im trying to make a script to convert http links to rtmp links. To simpifly, i want a script that when given, for example, the link "http://www.casadossegredos.tv/tvi" the script will return "rtmp://206.190.130.28/stream/TVI909090909?id=68969"
this is what i've done until now:
[ autoit ]
#include <Array.au3> #include <file.au3> #include <IE.au3> Local $file = FileOpen("db.txt", 1) If $file = -1 Then MsgBox(0, "Error", "Unable to open file.") Exit EndIf $oIE = _IECreate("http://www.casadossegredos.tv/tvi", 0, 0) Local $link = _IEGetObjByName($oIE, "rtmp://(.*?)_definst_") if $link == 0 then msgbox(0,"ERROR", "Null") Else msgbox(0,"SUCCESS", $link.innertext) EndIf _IEQuit($oIE) FileWriteLine($file, "Line1") FileClose($file)