Jump to content

Follow "next" link


gimx
 Share

Recommended Posts

Hello,

In a search engine i have a result with link "1" "2" "3" etc... in the footer to look the next result.

I parse what i want in the first page but i have really no idea to follow the link "2" to continue my parsing.

Thx for help :)

Posted Image

The first page code :

<span><<</span> 
<span><</span> 
<span>1</span>
<a href="#">2</a> 
<a href="#">3</a> 
<a href="#">4</a> 
<a href="#">5</a> 
<a href="#">></a> 
<a href="#">>></a>

The second page code :

<span><<</span> 
<span><</span> 
<a href="#">1</a>
<span>2</span>
<a href="#">3</a> 
<a href="#">4</a> 
<a href="#">5</a> 
<a href="#">></a> 
<a href="#">>></a>
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...