I have a page with lots of email addresses and want to be able to extract them. I have had a play around and am unable to currently automate the extraction process. However the pages are set out with sub pages. Here is a quick break down of how they are set out.
This lists the companies like so (all being links):
The code looks something like this:
Code: Select all
<br /> <a href="/directory_members_list.asp?CompanyID=1" target="_parent">Company 1</a><br /> <br /> <a href="/directory_members_list.asp?CompanyID=2" target="_parent">Company 2</a><br />
Which looks like this:
Company 1 More Information
Foo Bar Manufacturer
More information is a link that takes me to directory_members_details.asp.
This page displays all of the information about the company.
The particular bit that I would like is:
I worked out how to get this information by using relative to tag as Email is always on the page.
I have been able to record the extraction of 1 email address successfully however I have not been able to make it so that on the index.html it moves to the next link in the list then clicks on the pages to get to the emails. This automation is the bit that I am struggling on. I realise it may be harder due to none of the data being in tables.
Any help or advice would be greatly received and if you need any further details please just give me a shout.
Cheers in advance