Jump to content
UBot Underground

Bizzare Problem


Recommended Posts

Hello freinds

 

the following script seems to just scrape the first 2 pages , but after the first 2 pages it still cycles to the next pages but doesn't scrape the numbers like in the first 2 pages.

 

navigate("http://www.niceic.com/householder/find-a-contractor-results?q=london""Wait")
wait for browser event("Everything Loaded""")
add list to list(%numbers$scrape attribute(<id=w"gvContractors_*_lblTelephone">"innertext"), "Delete""Global")
loop while($exists($element offset(<tagname="a">, 104))) {
    click($element offset(<tagname="a">, 104), "Left Click""No")
    wait for browser event("Everything Loaded""")
    add list to list(%numbers$scrape attribute(<id=w"gvContractors_*_lblTelephone">"innertext"), "Delete""Global")
}

 

i havn't made a bot in a while so maybe i am missing somthing obvious.

 

any advise will be much appreciated

 

Thank you

niceic.ubot

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...