Jump to content
UBot Underground

Scrape To Excel-File?


Recommended Posts

Hi!

Would this be achievable with Ubot Studio and if so, how?

Thanks :)
 
------
1. Load a list of names from an Excel-file
2. insert first name from list into a url and then visit the url
3. Scrape some data
4. Save data in a table
5. Insert second name from list into url...
6. loop while there are names left
7. Export data to Excel
Link to post
Share on other sites

I send a demo code how you can start from these steps you have to edit some where in loop how you can save data you have to define variables that data does not crashed together you set these thing according to your need:

 

ui open file("Name",#name)
clear list(%name)
add list to list(%name,$list from file(#name),"Delete","Global")
loop($list total(%name)) {
    navigate("your url{$next list item(%name)}","Wait")
    wait(3)
    clear list(%scrape)
    add item to list(%scrape,$scrape attribute(<id="upgrade_notif_header">,"name"),"Don\'t Delete","Global")
    add list to table as column(&scrapeddata,0,0,%scrape)
}
save to file("{$special folder("Application")}\\Your scraped data.csv",&scrapeddata)

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