Jump to content
UBot Underground

Help create an identi.ca bot to subscribe to user --- i'm stuck with some kind of bug


Recommended Posts

Here's a portion of the bot attached,

 

I'm trying to create accounts and subscribe to each identi.ca user profile from a list. Ubot is able to navigate to each user profile but it's not able to click the "subscribe" button all the time. But when I type these profile links into ubot and navigate to it manually and tell ubot to just choose the button attribute and click it, it works all the time.

 

So, I think the problem is with navigating to the user profile, but I don't know how to fix it. I put in all kinds of delay/wait finish/no wait finish etc. and it's still not working correct. Here's a profile you can use to test with, any help is appreciated, thanks:

account:abruptphysician

password:GPCMCAQNTZ

 

Profile to subscribe to:

http://identi.ca/whatisk2herb

http://identi.ca/bugabundo

http://identi.ca/tdfischer

http://identi.ca/thepiratenation

http://identi.ca/academietoulouse

http://identi.ca/thevarguy

http://identi.ca/binyamin

http://identi.ca/colindean

http://identi.ca/stephtara

http://identi.ca/statik

http://identi.ca/acid

http://identi.ca/rysiek

http://identi.ca/jasonriedy

http://identi.ca/holone

http://identi.ca/jcasman

http://identi.ca/hughbris

http://identi.ca/carocr

http://identi.ca/blauzahl

http://identi.ca/bsibaud

http://identi.ca/bookoven

http://identi.ca/sydphp

http://identi.ca/splitbrain

http://identi.ca/bikegamer

http://identi.ca/bigou

http://identi.ca/basilgohar

http://identi.ca/singpolyma

http://identi.ca/blizzard

http://identi.ca/jacob

http://identi.ca/jamesm

http://identi.ca/saperduper

http://identi.ca/shocm

http://identi.ca/tag/xkcd

http://identi.ca/jaakko

http://identi.ca/hugokernel

http://identi.ca/adikamdar

http://identi.ca/rdworth

http://identi.ca/jessc

http://identi.ca/redbrain

http://identi.ca/renata

http://identi.ca/hypatiadotca

http://identi.ca/hugoroy

http://identi.ca/settings/profile

http://identi.ca/rkj

http://identi.ca/rentingtime

http://identi.ca/hezy

identi.ca test bot.ubot

Link to post
Share on other sites

Ok, I got it to work... as much as I think you wanted it to, problem being that I don't know wtf is going on really lol. I don't use that site. But anyways, I changed the location of the file that you are using for the list of account, so that it will work on anyones computer. If you use the systems constants you can find the location for everyones documents folder then save the .txt file there (which I changed so feel free to change it back) I noticed the problem was with the wait finish, it never seemed to want to finish for some reason, so I changed to 5 second delay and changed how it finds the subscribe button.

 

Another issue I found was if you already subscribed to them, it spits out an error so I added a If statement to find Subscribe and if it does then to subscribe to them. I think it all works just fine from what I did at least :P

 

I am new too, so I might have done something wrong... but like I said it worked for me!

identi.ca test bot.ubot

Link to post
Share on other sites

Cool thanks, it works now but I'm running into an error running this on a Winxp virtual machine. You probably notice this before when I have a "thread" running to click the "OK" button for a pop up. The pop up is throwing the whole loop up. I've attached a photo and also reported into bug. This is the latest version.

 

It was running fine on my vista 64bit laptop, weird.

 

Ok, I got it to work... as much as I think you wanted it to, problem being that I don't know wtf is going on really lol. I don't use that site. But anyways, I changed the location of the file that you are using for the list of account, so that it will work on anyones computer. If you use the systems constants you can find the location for everyones documents folder then save the .txt file there (which I changed so feel free to change it back) I noticed the problem was with the wait finish, it never seemed to want to finish for some reason, so I changed to 5 second delay and changed how it finds the subscribe button.

 

Another issue I found was if you already subscribed to them, it spits out an error so I added a If statement to find Subscribe and if it does then to subscribe to them. I think it all works just fine from what I did at least :P

 

I am new too, so I might have done something wrong... but like I said it worked for me!

post-1039-12797650698844_thumb.jpg

Link to post
Share on other sites

Wow....i think it's working now....my virtual xp was using IE6...I just upgraded to 8. Hopefully there's no other hip cups the rest of the night while I let this run. Thanks for the help Dangazzm.

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