I'm trying to do some web page scraping using IHTMLDocument2, which is
working fairly well and I can grab the second paragraph on a web page by
doing something like:
p := iDoc.all.tags('P');
if p.Length >= 2 then
result := p.Item(1).InnerText;
Where iDoc is an isnstance of IHTMLDocument2.
However say there there is an HTML element like
<div class="propertyInfo">Price: <span>Negotiation</span></div>
How would I be able to find the divs where class="propertyInfo"? (if
anyone has much experience with IHTMLDocument2)
--
Alister Christie
Computers for People
Ph: 04 471 1849 Fax: 04 471 1266
http://www.salespartner.co.nz
PO Box 13085
Johnsonville
Wellington
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
unsubscribe