Sign in to follow this  
Followers 0
gimx

Follow "next" link

6 posts in this topic

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>

Share this post


Link to post
Share on other sites



Using IE.au3 and _IELinkClickByText


I can do signature me.

Share this post


Link to post
Share on other sites

Yes i have seen this function but it don't work.

I will try again tomorrow, today i'm ko :)

Thx :P

Share this post


Link to post
Share on other sites

_IELoadWait($oIE)
_IELinkClickByText($oIE, "1")
_IELoadWait($oIE)
_IELinkClickByText($oIE, "2")

Share this post


Link to post
Share on other sites

_IELoadWait($oIE)
_IELinkClickByText($oIE, "1")
_IELoadWait($oIE)
_IELinkClickByText($oIE, "2")

Using IE.au3 and _IELinkClickByText


I can do signature me.

Share this post


Link to post
Share on other sites

Thx i try to do a loop with this function.

Share this post


Link to post
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
Sign in to follow this  
Followers 0