vibra 1 Posted February 10, 2011 Report Share Posted February 10, 2011 how do you use a "exclude" operation for an item in href? for instance... when i go to "choose by attribute" in href action=login I want to avoid action=login2 . My bot is clicking action=login2 instead of action=login ... is there an exclude option? so far i've tried just *action=login (wildcards) and it doesn't work. when attempting to login to the action=login2 it gives me the "must wait 5 minutes before you can log in. however, it signs in perfectly when I go straight to the action=login Help please. Quote Link to post Share on other sites
UBotBuddy 331 Posted February 10, 2011 Report Share Posted February 10, 2011 @vibra, I moved your other topic to the Scripting sub-forum. This sub-forum is for the "Ubot Studio Bot-Store". So I am moving this to the same sub-forum. Quote Link to post Share on other sites
JohnB 255 Posted February 10, 2011 Report Share Posted February 10, 2011 You can use regex to scrape the url's as you need them (or you can simply use the replace function to clean them up after scraping) John Quote Link to post Share on other sites
vibra 1 Posted February 10, 2011 Author Report Share Posted February 10, 2011 oops... thanks botbuddy.. slipped. Quote Link to post Share on other sites
vibra 1 Posted February 10, 2011 Author Report Share Posted February 10, 2011 I'm not looking to scrape JohnB. While searching a page, I want the bot to click on a particular link after I choose its attribute. How do I tell the bot to distinguish between clicking on a link that says, *action=login vs. *action=login2 Quote Link to post Share on other sites
nuc63 27 Posted February 10, 2011 Report Share Posted February 10, 2011 While searching a page, I want the bot to click on a particular link after I choose its attribute. How do I tell the bot to distinguish between clicking on a link that says, *action=login vs. *action=login2 I think I know what you are trying to do. How about this. load a list of urls. put url 1 + logout link and have bot navigate to it logging you out if logged in put url 1 + login link and have bot navigate to it making sure it logins into correct login. ( if your bot is running on logging into one specific script this should work well) Quote Link to post Share on other sites
JohnB 255 Posted February 10, 2011 Report Share Posted February 10, 2011 My point was you can scrape the url you need using regex and then navigate to it. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.