Jump to content
UBot Underground

Scrape Categories


Recommended Posts

Hi all,

I cam scrape individual categories no problem, but I would much rather scrape them all in one go from this link: http://www.amazon.com/s/ref=sr_st?bbn=133141011&qid=1359826260&rh=n%3A133140011%2Cn%3A!133141011%2Cn%3A154606011&sort=popularity-rank

 

See the categories on the left hand side - approximately 30 of them. Ideally having them in a list so as I can "click" on them would be ideal.

 

Thanks in advance for the help

Link to post
Share on other sites

someoen told me all i do is complain and never help out :) so i will help out lol..

 

not sure if this si the best way but it works

 

it wouldnt be ' clicking ' but you can navigate

 

 

 

 

clear list(%Categories)
navigate("http://www.amazon.com/s/ref=sr_st?bbn=133141011&qid=1359826260&rh=n%3A133140011%2Cn%3A!133141011%2Cn%3A154606011&sort=popularity-rank", "Wait")
wait for element(<id="ref_154606011">, "", "Appear")
load html($scrape attribute(<id="ref_154606011">, "outerhtml"))
add list to list(%Categories, $scrape attribute(<href=w"/s/ref=*">, "href"), "Delete", "Global")
  • Like 1
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...