Jump to content
UBot Underground

Need to scrape this item - unsure how


Recommended Posts

I need to scrape a URL out of a series of URLS from amazon's product details. Here is what I'm talking about:

 

needtoscrape.jpg

 

The very last link is the one I need to scrape. I get the feeling I'm going to nee some sort of regex, as each one of these product details change when looking at a new product, so this is going to be a pain in the ass, methinks.

 

Rob

Link to post
Share on other sites

In this case you don't need regex. The last category url has a last distinction. 

<a href="http://www.amazon.com/gp/bestsellers/digital-text/156708011/ref=pd_zg_hrsr_kstore_1_6_last">

The code will be 

add list to list(%last link, $scrape attribute(<href=w"http://www.amazon.com/gp/*_last*">, "href"), "Delete", "Global")

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