zonfar 1 Posted November 3, 2012 Report Share Posted November 3, 2012 I've always wondered if ubot is capable of doing something like this. For example over at yahoo answers http://answers.yahoo.com/question/index?qid=20121102025553AAukcIf (you have to be logged in to be able to vote) I am looking to vote up specific users comments on many different posts. The problem is that the voting buttons don't have anything to do with the username in it so I don't see a way of distinguishing a specific post I would want to vote to another. There are many voting sites that is very similar to this as well. Anyone have any ideas? Quote Link to post Share on other sites
ecbzh 47 Posted November 3, 2012 Report Share Posted November 3, 2012 "Almost" everything is possible to automate with UBOT ... "set" command + "Scrape the attribute" function should solve your issue. Quote Link to post Share on other sites
Pete 121 Posted November 3, 2012 Report Share Posted November 3, 2012 Regular expressions back references Quote Link to post Share on other sites
zonfar 1 Posted November 3, 2012 Author Report Share Posted November 3, 2012 "Almost" everything is possible to automate with UBOT ... It would be great if you give us more details about your problem "set" command + "Scrape the attribute" function should solve your issue.I explained it pretty well, I want it to click on the "thumbs up" voting section on a specific username, if I use a wildcard it will randomly thumbs up for other users posts. I just want to vote my own up obviously. Quote Link to post Share on other sites
ecbzh 47 Posted November 3, 2012 Report Share Posted November 3, 2012 I explained it pretty well, I want it to click on the "thumbs up" voting section on a specific username, if I use a wildcard it will randomly thumbs up for other users posts. I just want to vote my own up obviously. Ok ... Will try to play with it and let you know if I get it. Quote Link to post Share on other sites
HelloInsomnia 1103 Posted November 3, 2012 Report Share Posted November 3, 2012 There is a way to do it add users to list then the list position of the username is the offset of the thumbs up to click Quote Link to post Share on other sites
zonfar 1 Posted November 3, 2012 Author Report Share Posted November 3, 2012 There is a way to do it add users to list then the list position of the username is the offset of the thumbs up to clickBut there is no way to check what position your clicking the vote button from. Do you have an example? Quote Link to post Share on other sites
HelloInsomnia 1103 Posted November 3, 2012 Report Share Posted November 3, 2012 When i'm back home tomorrow ill put up an example Quote Link to post Share on other sites
nuc63 27 Posted November 3, 2012 Report Share Posted November 3, 2012 Yes its possible to do this you need to view the source. User http://answers.yahoo...show=bGE09viNaa use code click(<outerhtml=w"<a href=\"/common/util/ks-rnr-xhr-handler.php;_ylt*targetKid=bGE09viNaa*Rating: Good Answer</span></span></a>">, "Left Click", "No") to vote up this user source code on yahoo answers to vote up( black section is where unique user comes into play) <li class="rate-up"><a href="/common/util/ks-rnr-xhr-handler.php;_ylt=AkRJV2sf_w4y4srUfQGRZR0Nxgt.;_ylv=3?method=rate&targetQid=20121103145728AAB2O5i&targetKid=bGE09viNaa&metaStr=Fc4rUHn_WzNB6wdNx5PtBFupxPRPs_QySvLr0xB3YW_nyzKCgmzuNY.fdRPdeJRQJavC7qETlJKSAeB.P2F_INWtYx4WfmeZpqMffzAw.KXxMERdSHGblIsETysSaBbEtisndeC7GQihXu4C6tRxXUJ4NeA9HbsBV.VQcVqrhKH7NXq.TkEV2boXOsk-&prevUp=0&prevDown=0&done=http%3A%2F%2Fanswers.yahoo.com%2Fquestion%2Findex%3Fqid%3D20121103145728AAB2O5i&crumb=Lh7lMjY0y9T&act=add&rating=thumbsUp&nrating=1"><span class="rate-button">0 <span>Rating: Good Answer</span></span></a></li> 2 Quote Link to post Share on other sites
zonfar 1 Posted November 4, 2012 Author Report Share Posted November 4, 2012 Yes its possible to do this you need to view the source. User http://answers.yahoo...show=bGE09viNaa use code click(<outerhtml=w"<a href=\"/common/util/ks-rnr-xhr-handler.php;_ylt*targetKid=bGE09viNaa*Rating: Good Answer</span></span></a>">, "Left Click", "No") to vote up this user source code on yahoo answers to vote up( black section is where unique user comes into play) <li class="rate-up"><a href="/common/util/ks-rnr-xhr-handler.php;_ylt=AkRJV2sf_w4y4srUfQGRZR0Nxgt.;_ylv=3?method=rate&targetQid=20121103145728AAB2O5i&targetKid=bGE09viNaa&metaStr=Fc4rUHn_WzNB6wdNx5PtBFupxPRPs_QySvLr0xB3YW_nyzKCgmzuNY.fdRPdeJRQJavC7qETlJKSAeB.P2F_INWtYx4WfmeZpqMffzAw.KXxMERdSHGblIsETysSaBbEtisndeC7GQihXu4C6tRxXUJ4NeA9HbsBV.VQcVqrhKH7NXq.TkEV2boXOsk-&prevUp=0&prevDown=0&done=http%3A%2F%2Fanswers.yahoo.com%2Fquestion%2Findex%3Fqid%3D20121103145728AAB2O5i&crumb=Lh7lMjY0y9T&act=add&rating=thumbsUp&nrating=1"><span class="rate-button">0 <span>Rating: Good Answer</span></span></a></li>My question is though how can you tell what user that is attached too? I'm trying to create a bot that posts questions then would scrape the answers, and choose the specific username to vote up. Is it possible to scrape the username and choose to vote based on that? I see the "targetKid=bGE09viNaa" but obviously thats not a username Quote Link to post Share on other sites
nuc63 27 Posted November 4, 2012 Report Share Posted November 4, 2012 in your example http://answers.yahoo...02025553AAukcIf when you click on user irish it displays the page http://answers.yahoo...show=Y2lvGr6Qaa if you know the user unique code as "Y2lvGr6Qaa" you can input upvotes like that. you can't scrape by username the click function works on basis of the unique code yahoo gives each user you must must user and get there unique code. 1 Quote Link to post Share on other sites
zonfar 1 Posted November 5, 2012 Author Report Share Posted November 5, 2012 in your example http://answers.yahoo...02025553AAukcIf when you click on user irish it displays the page http://answers.yahoo...show=Y2lvGr6Qaa if you know the user unique code as "Y2lvGr6Qaa" you can input upvotes like that. you can't scrape by username the click function works on basis of the unique code yahoo gives each user you must must user and get there unique code.Ah I see it now, for some reason I didn't see that, and I was looking on other voting sites that dont have any unique user id's in outerhtml or any other options. good to know its there in YA though! Thanks again! 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.