Jump to content
UBot Underground

Recommended Posts

Hi all! Im trying to get the image url of the products in amazon but i cannot retrieve the image url exactly, does anybody know how to do it? pls share it with me, thanks ahead! i want to get the url and save it to a csv file. 

 

this is my code

 

add list to list(%amazonimageurls,$scrape attribute(<id="imgTagWrapperId">,"src"),"Delete","Global")
add list to table as column(&photo,0,0,%amazonimageurls)
save to file("{$special folder("Desktop")}/photo.csv",&photo)

 

http://prntscr.com/fsm32h

Link to post
Share on other sites

replace SS40 to other (sample SS500)

 

sample

navigate("https://www.amazon.com/dp/B00X4WHP5E","Wait")
wait for browser event("Everything Loaded","")
clear list(%ImageUrls)
add list to list(%ImageUrls,$scrape attribute(<src=w"https://images-na.ssl-images-amazon.com/images/I/*._SS40_.jpg">,"fullsrc"),"Delete","Global")
loop($list total(%ImageUrls)) {
    set(#ImageUrl,$next list item(%ImageUrls),"Global")
    navigate($replace(#ImageUrl,"_SS40_","_SS500_"),"Wait")
    wait(1)
}
  • 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...