Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Please Help, Excel extraction and paste to Website - Loop
#11
Here you cannot use path.
Parse whole document into smaller parts and look which part contains element with certain attributes.
For example

Macro Macro633
Code:
Copy      Help
out
str First("Bill") Last("Gates") City State Zip

str AnyWhoURL.format("http://whitepages.anywho.com/results.php?&qc=%s&qf=%s&qn=%s&qs=%s&qz=%s" City First Last State Zip)
HtmlDoc d.InitFromWeb(AnyWhoURL)

ARRAY(str) a
d.GetTable(12 a 0 1)
;
int j
for j 0 a.len
,out a[j]
,out "-------"
ret

Now in every a[j] search for "<TD class=nameAndAddress>"...


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)