darendeli Posted November 27, 2020 Share Posted November 27, 2020 Func SiteBilgileriGuncel() Local $oIE = _IECreate("https://yootugne.gq/prog.php?p=youtubeikk",0,0) Local $oTags1 = _IETagNameGetCollection($oIE, "div") For $oTag1 In $oTags1 If String ($oTag1.GetAttribute("class")) == "stats" Then If not @error then $hostteam1 = $oTag1.innerTEXT If GUICtrlRead($hostteam1) <> "" Then ConsoleWrite ($hostteam1& @CRLF) GUICtrlSetData($Label2 ,GUICtrlRead($hostteam1)) EndIf If StringLen($hostteam1) = 0 Then $hostteam1 = @CRLF ConsoleWrite($hostteam1 & @CRLF) GUICtrlSetData($Label2 ,$hostteam1) EndIf Next _IEQuit($oIE) AdlibUnRegister("SiteBilgileriGuncel") AdlibRegister("SiteBilgileriGuncel",1000) EndFunc Quote Link to comment Share on other sites More sharing options...
ronaldinho424 Posted November 28, 2020 Share Posted November 28, 2020 darendeli, 20 saat önce yazdı: Func SiteBilgileriGuncel() Local $oIE = _IECreate("https://yootugne.gq/prog.php?p=youtubeikk",0,0) Local $oTags1 = _IETagNameGetCollection($oIE, "div") For $oTag1 In $oTags1 If String ($oTag1.GetAttribute("class")) == "stats" Then If not @error then $hostteam1 = $oTag1.innerTEXT If GUICtrlRead($hostteam1) <> "" Then ConsoleWrite ($hostteam1& @CRLF) GUICtrlSetData($Label2 ,GUICtrlRead($hostteam1)) EndIf If StringLen($hostteam1) = 0 Then $hostteam1 = @CRLF ConsoleWrite($hostteam1 & @CRLF) GUICtrlSetData($Label2 ,$hostteam1) EndIf Next _IEQuit($oIE) AdlibUnRegister("SiteBilgileriGuncel") AdlibRegister("SiteBilgileriGuncel",1000) EndFunc AdlibRegister ile işlevi kaydedeceksin ondan sonra AdlibUnRegister kayıtlı işlevi sileceksin. _IECreate işlevi bitti artık Internet Explorer siteleri desteklemiyor. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.