Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parsing Search Results Page..

Status
Not open for further replies.

IreStep

Technical User
Feb 13, 2008
1
Hi All,

I want to save the top 10 links from a yahoo results search into folders. I can extract all links from the page ok but that is way more than ten (up to 70 due to all the links on the page!), does anyone know if they is anything that distinguishes these top 10 links from the rest of them.

i.e on this page..


i would want the following html content for these links

1 2 3
.
.
.
10
in ten folders. rather than every link from page!!

Any help appreciated.

Thank You
 
well there are only 20 links within div id="web"
and there are 10 links with class="yschttl"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top