Jump to content

Determine what changed in html


Recommended Posts

Hey guys,

im try'ing to read an page in HTML, change to another page and read the HTML again and make a var with the html that changed on these pages.

#include <IE.au3>

$main = _IECreate ($news)

_IELoadWait($main)

$body1 = _IEBodyReadHTML($main)

_IENavigate ($main, $otherpageonsamewebsite)

_IELoadWait($main)

$body2 = _IEBodyReadHTML($main)

$changedhtml = "need help, you rule"

Cheers,

Kinshima

Link to comment
Share on other sites

#include <IE.au3>

$main = _IECreate ($news)
_IELoadWait($main)
$body1 = _IEBodyReadHTML($main)
_IENavigate ($main, $otherpageonsamewebsite)
_IELoadWait($main)
$body2 = _IEBodyReadHTML($main)
$changedhtml = "need help, you rule"

To clarify, you are looking to do something like diff?

#fgpkerw4kcmnq2mns1ax7ilndopen (Q, $0); while ($l = <Q>){if ($l =~ m/^#.*/){$l =~ tr/a-z1-9#/Huh, Junketeer's Alternate Pro Ace /; print $l;}}close (Q);[code] tag ninja!

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...