Problem with html code extraction

Discussions and Tech Support related to website data extraction, screen scraping and data mining using iMacros.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
Posts: 3
Joined: Mon Nov 19, 2007 11:45 am

Problem with html code extraction

Post by m4rco » Mon Nov 19, 2007 12:49 pm

Hi guy ,
I've a problem whith a particular html line extraction.
This is the html code of the page

Code: Select all

<H1><a href="/servlet/try?idDoc=555&mode=V">view</a></H1>
<H1><a href="/servlet/try?idDoc=555&mode=S">save</a></H1>
<h3>blablabla<sup><font size="-1">(1)</font></sup>&nbsp; blablabla</h3>
<H3>the doc<SUP><FONT size=-1>(1)</FONT></SUP>&nbsp; is ready</H3><BR><A onclick="return Vs('555','V')" href="javascript:void(null)"><IMG src="/maps/AA.jpg" border=0></A>&nbsp;&nbsp;&nbsp; <A href="javascript:history.go(-5)"><IMG src="/maps/Back.jpg" border=0></A> <BR><BR><BR><SUP><FONT size=-1>(1)</FONT></SUP>&nbsp;rblablabla<FONT color=#ff0000>bla</FONT> </CENTER>

I would to extract from this HTML code this line

<H1><a href="/servlet/try?idDoc=555&mode=S">save</a></H1>

in particular only the string "/servlet/try?idDoc=555&mode=S" .
How i can do it?
I can? I'm being crazy...

Help me, thanks a lot!
Post Reply