Jump to content

How to pull information from websites


NonPoint22
 Share

Recommended Posts

$Title = "Bad Error"
$Error = "Must Be Compiled to Run"
 
If @Compiled = 0 Then
MsgBox(0, $Title, $Error)
Exit 0
Else
GUISetState(@SW_SHOW)
EndIf
 
$oIE = _IECreate("http://www.justin.tv", 0, 0, 1, 1)
$Login = $oIE.document.parentWindow.eval("PP['login']")
GUICtrlSetData($sUser, $Login)
Sleep(1000)
$UID = $oIE.document.parentWindow.eval("PP['user_id']")
GUICtrlSetData($sUID, $UID)
$SK = $oIE.document.parentWindow.eval("PP['stream_key']")
GUICtrlSetData($sStream, $SK)
$Noty = $oIE.document.parentWindow.eval("PP['notifications']")
GUICtrlSetData($sNOT, $Noty)
$GetIP = $oIE.document.parentWindow.eval("PP['ip']")
GUICtrlSetData($sIP, $GetIP)
$isPRO = $oIE.document.parentWindow.eval("PP['is_pro']")
GUICtrlSetData($sPRO, $isPRO)
 
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
  Case $GUI_EVENT_CLOSE
   Exit
EndSwitch
WEnd

Edited by NonPoint22
Link to comment
Share on other sites

Ok, is need to add this at top of code:

#include <IE.au3>
#include <GUIConstants.au3>
Global $sUser,$Login,$sUID,$UID,$sStream,$SK,$sNOT,$Noty,$sIP,$GetIP,$sPRO,$isPRO

But what do this code? i can't understand..

[center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Don't utter a single word[/font][/center][center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Just shut your pretty mouth[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you again[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you[/font][/center][center][font=courier new,courier,monospace]In hell[/font][/center]

Link to comment
Share on other sites

I have to say, when a script is posted such as this with absolutely no description of what it is supposed to do, I find it quite pointless.

Sure you can look at the code and try to figure it out, but Its is usually just a massive waste of time.

I understand English is not everyones language, but zero effort is just plain stupid.

Perhaps there should be a remedial forum section.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to comment
Share on other sites

I think such incomplete errorfull scripts without value should be moved to General Help section (from Examples). Maybe also user should be warned/baned. If everybody would make this then this forum would be useless at all.

I agree 100%. I did browse thru the first post, before it was edited; was there a question at all there? I don't really remember any type of question. So what good is a questionless post in any, even a 'General Help' forum category?

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...