Jump to content
UBot Underground

Recommended Posts

hi 

I have simple script to check if yahoo username is available

 

My current code

set user agent("Android")
navigate("https://watchlist.yahoo.com/?.lang=en-US&.intl=us&.username={#status1}","Wait")
wait for element(<(id="btn0" OR image="___IMAGE___2___IMAGE___")>,10,"Appear")
if($exists(<image="___IMAGE___2___IMAGE___">)) {
    then {
        set(#username1,#status1,"Global")
    }
    else {
        set(#username1,"None","Global")
    }
}

existing code is work fine, without error but i need the script to work a little faster, so i decided to script it with HTTP post plugin but without any results

 

all http get results are the same (for available an not available username)

i assume here should be a trick with javascript but not really understand how

Link to post
Share on other sites

try this, this will run faster, but you will need HTTP POST plugin, example return value :

 

{"exist":true,"yid":"Your_user_name_to_chek"}

set(#user_name, $plugin function("HTTP post.dll", "$http post", "https://watchlist.yahoo.com/wlidcheck", "yid=Your_user_name_to_chek&mode=check", "", "", "", ""), "Global")


Edited by Jakarta
  • Like 1
Link to post
Share on other sites

 

try this, this will run faster, but you will need HTTP POST plugin, example return value :

 

{"exist":true,"yid":"Your_user_name_to_chek"}

set(#user_name, $plugin function("HTTP post.dll", "$http post", "https://watchlist.yahoo.com/wlidcheck", "yid=Your_user_name_to_chek&mode=check", "", "", "", ""), "Global")


Excellent, thanks for your help

Your link get what i need 

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