Jump to content
UBot Underground

PRO

ADMIN
  • Content Count

    464
  • Joined

  • Last visited

  • Days Won

    26

Status Replies posted by PRO

  1. Hey there Ninja,

    Just got into UBot Underground and not seeing a lot of activity when I go to the leaderboard -- however I did find you and it looks like you were in the forum last month.

    Are you active with Ubot?  I need to knock out a solution and need some direction on which is the best path to get where I need to go.

    For instance... I need to navigate to eBay, enter an ID and then scrape the results into a CSV.
    Where I am uncertain how to loop through a bunch of ID's  (say 30 ID's) -- is how to add each screen full of scraped data -- into it's own row in a master CSV...

    Instinct tells me that this is a common task, yet I can't find any training tutorials that lay it out.
    Not really wanting to go down a dead end path -- so any light you can shed on this task... would be greatly appreciated!

    Robert

    1. PRO

      PRO

      You can load all ID's in a list and then loop through all elements.

      You can try and run this example:

      clear list(%urls)
      add list to list(%urls,$list from text("1,2,3,4,5",","),"Delete","Global")
      set(#counter_current,0,"Global")
      set(#counter_total,$list total(%urls),"Global")
      loop while($comparison(#counter_current,"< Less than",#counter_total)) {
          alert($list item(%urls,#counter_current))
          increment(#counter_current)
      }
      alert("Completed {#counter_current} items!")

×
×
  • Create New...