Jump to content
UBot Underground

I Need A Tutorial How To Extract Data Wih Images From Ebay


Recommended Posts

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 

Link to post
Share on other sites

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.

  • Like 1
Link to post
Share on other sites

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 by Asentrix
  • Like 1
Link to post
Share on other sites
  • 4 months 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...