MBG 7 Posted May 18, 2015 Report Share Posted May 18, 2015 Hi,i need someone, who could show me (teach me) how i can scrap data and download pictures from ebay shop (fastest way). please give me your price and how fast you could help me with this. I have developer license, http plugin, bot script fast, xpathbuilderbot, socket code generator.I am complete newbie.Thank you Quote Link to post Share on other sites
Asentrix 17 Posted May 18, 2015 Report Share Posted May 18, 2015 Here you go , this is just an example , but it navigates to an item , scrapes the picture and description comment("Navigate To Product") navigate("http://www.ebay.com/itm/Apple-iPhone-5-16GB-White-Silver-Factory-Unlocked-Smartphone-/181748519007?pt=LH_DefaultDomain_0&hash=item2a510e505f", "Wait") comment("Save Default Image") save element image(<src=w"http://i.ebayimg.com/*">, "{$special folder("Desktop")}/{$rand(1000, 9999)}.jpg") comment("Scrape Information From Description") add list to list(%iteminfo, $scrape attribute(<class=w"tab-content-m">, "innertext"), "Delete", "Global") comment("Save File(s) to desktop.") save to file("{$special folder("Desktop")}/info.txt", %iteminfo) If you need more help let me know. 1 Quote Link to post Share on other sites
itexspert 47 Posted May 18, 2015 Report Share Posted May 18, 2015 PM Sent! Quote Link to post Share on other sites
MBG 7 Posted May 18, 2015 Author Report Share Posted May 18, 2015 Asentrix Thank you very very much:-) 1 Quote Link to post Share on other sites
Asentrix 17 Posted May 18, 2015 Report Share Posted May 18, 2015 Asentrix Thank you very very much:-)My pleasure Quote Link to post Share on other sites
Asentrix 17 Posted May 18, 2015 Report Share Posted May 18, 2015 (edited) In regard to your other question , this is the code to scrape all pictures from an ebay shop.The pictures are saved to desktop/ebaypics/shop name clear list(%picurls) clear list(%shopname) ui text box("Shop Link", #shoplink) ui check box("Collection?", #Collection) if($folder exists("{$special folder("Desktop")}/Ebaypics/")) { then { set(#yesfoldexist, "yes", "Global") } else { create folder($special folder("Desktop"), "Ebaypics") } } if(#shoplink = "") { then { alert("Enter your shop link!") stop script } } navigate(#shoplink, "Wait") add list to list(%picurls, $scrape attribute(<src=w"http://thumbs*">, "src"), "Delete", "Global") add list to list(%shopname, $scrape attribute(<class="str-title">, "innertext"), "Delete", "Global") add list to list(%newshopname, $scrape attribute(<class="collection-title">, "innertext"), "Delete", "Global") create folder("{$special folder("Desktop")}/Ebaypics/", %shopname) loop($list total(%picurls)) { navigate($next list item(%picurls), "Wait") wait for element(<src=w"http://thumbs*.jpg">, 30, "Appear") save element image(<src=w"http://thumbs*">, "{$special folder("Desktop")}\\Ebaypics\\{%shopname}\\{$rand(99, 9999)}.jpg") } if(#Collection) { then { clear list(%newlist) clear list(%newshopname) navigate(#shoplink, "Wait") add list to list(%newlist, $scrape attribute(<src=w"http://i.ebayimg.com*">, "src"), "Delete", "Global") add list to list(%newshopname, $scrape attribute(<class="collection-title">, "innertext"), "Delete", "Global") create folder("{$special folder("Desktop")}/Ebaypics/", %newshopname) loop($list total(%newlist)) { navigate($next list item(%newlist), "Wait") wait for element(<src=w"http://i.ebayimg.com*">, 30, "Appear") save element image(<src=w"http://thumbs*">, "{$special folder("Desktop")}\\Ebaypics\\{%newshopname}\\{$rand(99, 9999)}.jpg") } } } Edited May 18, 2015 by Asentrix 1 Quote Link to post Share on other sites
MBG 7 Posted May 18, 2015 Author Report Share Posted May 18, 2015 Asentrix thank you so much, how i can pay you back? Quote Link to post Share on other sites
Computer Gecko 2 Posted September 23, 2015 Report Share Posted September 23, 2015 Great information Asentrix! Is there a way to grab all the images that are in the left side of the listing page with the thumbnails underneath? Also, it would be great to grab the fullsize images instead of the smaller versions. Thanks! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.