Jump to content
UBot Underground

Recommended Posts

I am scrapping data from a drop down on a webpage. It contains a list of dates and what I am trying to do is scrape the dates

and then have a UI Drop Down appear ONLY when my script gets to that part.

 

I have almost all my code now in defines which is really cool and I want to scrape the values and then dynamically populate the

UI Drop Down with my scraped values and then pause the script until they make their choice and then resume once a selection

has been made.

 

Is that possible?

Link to post
Share on other sites

Here is how to do it :

navigate("https://na.edit.yahoo.com/registration?", "Wait")
set(#month, $scrape attribute(<name="mm">, "outerhtml"), "Global")
add list to list(%month, $find regular expression(#month, "(?<=\">).*?(?=<\\/)"), "Delete", "Global")
set(#month, %month, "Global")
set(#month, $replace(#month, $new line, ","), "Global")
set(#Choose Your Month, $plugin function("File Management.dll", "$dropdown dialog", "Choose Your Month", "Choose Your Month:", #month), "Global")
wait(1)
change dropdown(<name="mm">, #Choose Your Month)
  • 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...