Jump to content
UBot Underground

can this be done?


Recommended Posts

I would like to be able to load a list of urls via a txt file into the bot and have it go through each url and do the scripted commands. I just can't figure out how to do this. Help?

 

So in other words, I have 5 urls, I want to go to the first one, login, upload or write or whatever, logout, go to the next one, login, upload or write or whatever, logout, go to the next one...etc. Can this be done if the urls are different? Or do I have to just clone and edit?

 

edited to add: the actions in each site remains the same btw. I'm thinking I'm missing a simple solution here............................

 

I have done the actions I want to take once logged in. I basically want a bot that where I can login to my blogs and add some pages, but I don't want to create a new exe for each blog. Is there a way I can make it where I can specify a file or input the list and the passwords and it will just go through the list top to bottom and do this simple thing?

Link to post
Share on other sites

Yes, you can do this.

 

Here is how I would do this:

uBot can open a file and load the contents into a list.

Then you loop through the list and use the URL to navigate to the site with the nav command.

-  Once you are on a site, you can have uBot perform a set number of tasks (those are contained in their own subroutines, like "posting for wordpress, posting for blogspot, etc..."

-  Using an if statement, a different subroutine is called, depending on which site you are on.

The loop goes to the next URL

 

::emp::

Link to post
Share on other sites

I'll give it a go. Still not all great with using the loops and if then type of routines yet. I've never done any coding type stuff at all before so this is all very new to me! But I seem to have the basics working well which has been exciting cause I know absolutely nothing about making bots or coding for that matter!

Link to post
Share on other sites

hi there.

 

I just made  a short video for you to look at. I just set a variable, but t works the same with a list.

 

http://www.screencast.com/users/emper/folders/Jing/media/d24eb9d0-f79b-4a19-a73f-94406331192c

 

The problem is that uBot already has a URL ready in the nav command, which you need to clear. I ran into the same issue at first.

 

::emp::

Link to post
Share on other sites

Thank you so much! I was so frustrated with this thing for the first hour and a half and then I found the other vids on the regular page and they were so much easier to understand than that manual (for me). And it was just a breeze after that. I wanted to return the thing for a refund asap because I thought I could never understand this stuff, but once you get it, you get it! Thanks for all the help! I'm up at 3am here so have to really be to bed, but was so excited about this new toy lol. Will have to try it out tomorrow more or this weekend!

Link to post
Share on other sites
Guest turbolapp

Hey guys,

 

Since it looks like NewB is happy, mind if I hijack the thread a bit? I think we have a sort of cousin situation here. My question is twofold:

 

1) I'm trying to access data on the yellowpages business urls. I would like to eventually make it to where the bot goes to each url to search for specific data. I'm trying to figure out how to approach this. Should I scrape all the urls to a list and then have ubot nav to the list like above? Or should I have the ubot just go to link on the page and click through?

 

2)Either way, My looping has been disastrous. I can't really get it to work ( I keep winding up with 36  IE browsers popping open at me... :-\ )The tutorial on loops was based solely on having numbers fill a field and I'm not quite sure how to transition that to having url links clicked.

 

 

Link to post
Share on other sites
Guest luminus

Definitely #1. Once you scrape the list you can then control the speed of browsing and you can see where you are, etc. After you have a list of URL's you would probably use Nav and the parameter $next list item, as in the image below.

 

http://www.botsoftware.org/images/asdf.png

 

 

Link to post
Share on other sites
Guest turbolapp

Thanks Luminus!

 

That's almost exactly what I did yesterday (I'm ridiculously proud of myself for figuring it all out) but of course it didn't work right. It almost did, but it kept going back to the first url.  So it would go: first url , second url, first url, third url, first url...etc.( I also added a whole huge if/not/then scenario too, so that may be a culprit but I don't think so.) By this time I had been working on it for a few hours and I was going cross eyed so I figured I would come back to it today.

 

With your map and me feeling restful, I should be able to muddle through today. I'll post back if I have issues.

Link to post
Share on other sites
Guest turbolapp

OK I need some help I seem to be stuck on this one part. I can't figure out what I put in for a parameter in the list I just created? I mean it's all the urls from the previous list that met certain requirements...how do I make that into a parameter?

 

http://img40.imageshack.us/img40/4772/script1.png

http://img40.imageshack.us/img40/7785/script2.png

http://img32.imageshack.us/img32/6452/script3y.png

Link to post
Share on other sites
Guest turbolapp

Thanks for helping Jon.

 

I didn't really understand what you were trying to say in your last sentence.

 

As for your advice about the constant. I liked it, it made sense and I actually got a bit further in the process. This time a couple of urls were added to the list (where as before none were) However I got this error message over and over towards the end:

 

http://img28.imageshack.us/img28/3752/error1q.png

Link to post
Share on other sites
Guest turbolapp

Ok incase anyone was following along:  the solution was to set parameter as a variable.  So variable = $next list item and then have it navigate to the variable as well as using the variable in the add to list that I was having so much problems with.

 

Fun Fact I learned along the way. The set variable has to be inside the loop otherwise it gets stuck on the first line item.

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