Jump to content
UBot Underground

Recommended Posts

Hi Guys,

 

I'm scraping pages and after each page i need to navigate to the next page until there's no more pages.

To navigate to next page I click "Next", which works well until I get to the last page where it still says "Next" but

it's not clickable. How do I get the bot to stop at the last next when it's no longer a clickable link?

 

Thanks,

Wize

Link to post
Share on other sites

Loop while exists and select the Next button but use the outerhtml so that it includes the href or something that's only displayed when the text is a live link. Remember you can always use the * (wildcard) where its needed also.

  • Like 1
Link to post
Share on other sites

I can probably help you but I would need to see the page.

This one is still clickable...

http://imagizer.imageshack.us/v2/800x600q90/849/kwav.jpg

 

This one isn't clickable...

http://imagizer.imageshack.us/v2/800x600q90/844/nah0.jpg

 

Thanks Giganut!

Link to post
Share on other sites

Loop while exists and select the Next button but use the outerhtml so that it includes the href or something that's only displayed when the text is a live link. Remember you can always use the * (wildcard) where its needed also.

Cool Gogetta, Ima give this a shot.

Link to post
Share on other sites

Loop while exists and select the Next button but use the outerhtml so that it includes the href or something that's only displayed when the text is a live link. Remember you can always use the * (wildcard) where its needed also.

 

Thanks Gogetta, that nailed it!!!!

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...