Jump to content
UBot Underground

How do I scrape the URL for each item


Recommended Posts

Hi,

 

I just purchased Ubot (standard) so I'm pretty new to the software.

 

I'm trying to scrape the URL links for all products on page below but I can't figure out how to do it.

 

I can scrape each the item Title and Price and save them in a list using add list to list$scrape attribute and using the appropriate CLASS but can't figure out how to get the URL. Everything I try doesn't seem to work.

 

Can anyone offer any advice?

 

http://www.argos.co.uk/static/Browse/ID72/33012746/c_1/1|category_root|Technology|33006169/c_2/2|33006169|Home+audio|33008502/c_3/3|cat_33008502|Clock+radios|33012746.htm

 

Thanks,

Pete

Link to post
Share on other sites

There are a lot of options to scrap data from that page

But as you are working with lists some thing like this should do it

 

add list to list(%products$list from text($scrape attribute(<title=w"more details*">"fullhref"), $new line), "Delete""Global")

 

Edit

 

Or if you are getting to many try this

 

add list to list(%Results, $list from text($find regular expression($page scrape("<span>Quick view</span></button>", "\" title=\"more"), "(http?:[^\\s]*)"), $new line), "Delete", "Global")

Link to post
Share on other sites
  • 2 months later...
  • 2 weeks later...

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