Jump to content
UBot Underground

okuma31

Members
  • Content Count

    46
  • Joined

  • Last visited

Everything posted by okuma31

  1. Long story short, here's an example of what I currently have. ui save file("save location", #save) command() define command { navigate("http://www.google.com/", "Wait") change attribute(<name="q">, "value", $rand(2132132, 1321231231321321)) wait(1) define $test { set(#var, $scrape attribute(<name="q">, "value"), "Local") return(#var) } navigate("http://google.com", "Wait") scraping() } define scraping { add item to list(%list, $test(), "Delete", "Local") save to file(#save, %list) } The primary issue I'm running into is when navigat
  2. Thanks man that worked, but after testing here's the issue I'm running into. It appears that when I navigate to a new web page it drops the returns value, is there a workaround for this? I'd like to keep the scraping command as is if possible, it's quite a bit of code to copy and paste in every location it's neccessary. ui save file("save location", #save) command() define command { navigate("http://www.google.com/", "Wait") change attribute(<name="q">, "value", $rand(2132132, 1321231231321321)) wait(1) define $test { set(#var, $scrape attribute(<name="q">, "
  3. That's really not an option, my entire program is organized into commands for upkeep. Here's a typical example of what I'm running into... command() define command { navigate("http://www.google.com/", "Wait") change attribute(<name="q">, "value", $rand(2132132, 1321231231321321)) wait(1) define $test { set(#var, $scrape attribute(<name="q">, "value"), "Local") return(#var) } navigate("http://google.com", "Wait") change attribute(<name="q">, "value", $test()) }
  4. I cannot for the life of me figure out a solution to this, I've actually tried several dozen solutions over the last couple of hours and to no availe =/ I have an overall define command used in my program that contains a variable that I need to get to the define function, but it's just not working. Anyone care to offer a solution to this seeing as how a page scrape refuses to work in a define function. define container { set(#variable one, $page scrape("<body>", "</body>"), "Local") define $return function { return(#variable one) } }
  5. I appreciate it your help north_star, I've figured it out and I feel like a massive idiot atm. It took me a while to figure it out, but my stubborness and ability to continue to smash my face into the wall until I figured it out payed off. When I was page scrapping I was getting the initial start of the html such as <header><body>http://domain.com/ , this is why it was causing an issue. I sincerely appreciate the help. Tyler
  6. I have but the current set up seems to work well, I'm just having an issue figure out why it's not working. If you run the bot, you can clearly see that the variable is exactly correct, it just for whatever reason fails to make it to the page. Here's an example site you can use to test it yourselves. http://determinedtodevelop.org/?q=node/193623
  7. ui stat monitor("stat", #Scrapped Node Add Link) set(#Temporary Account Creation Url, $url, "Global") run javascript("document.write(\"{#Temporary Account Creation Url}\");") set(#Scrapped Node Add Link, "{$page scrape("", "/node")}/node/add", "Global") navigate(#Scrapped Node Add Link, "Wait") I am literally baffled as to why this is failing, it's causing me some serious frustration. Can anyone explain it?
  8. For those in the future that run into this issue, try using the add list to list statement instead.
  9. Why oh why isn't this working, it's extremly frustrating When I run this I get every item in the list back to back like this http://domain.com/http://domain.com/http://domain.com/2323131
  10. clear list(%root domain urls) clear list(%master url list) add list to list(%master url list, $list from file("C:\\Users\\Tdub\\Desktop\\extracted from thoughthappiness.txt"), "Delete", "Global") add item to list(%root domain urls, "http://7minutegarden.com/", "Delete", "Global") add list to list(%final output list, $common list items(%root domain urls, %master url list), "Delete", "Global") save to file("C:\\Users\\Tdub\\Desktop\\the final output list.txt", %final output list) The root domain list contains one url, as you can see in the above code, but when I open the final output list.txt
  11. This is a great idea, I'm playing with this now, but it appears to only scrape exact match urls. As an example The item I'll use is a root domain http://aol.com/ Now my list of urls is filled with all kinds of crazy stuff, but the specific 15 or so I'm looking for contain extra strings on the root such as... http://aol.com/311234 http://aol.com/33424 http://aol.com/76876 http://aol.com/12321 http://aol.com/8978978 Regardless, I feel like this is getting closer, if this ends up working be sure and send your paypal and I'll send you a fiver for a beer on me. =]
  12. That's what I was planning on doing, but I see two issues with this 1) Lets say it takes 15 seconds to find the url, that's going to kill my links per minute. 2) In theory it will always select the first target because that's the first link it will uncover.
  13. I have a list of 100k+ urls in a text file and what I'd like to do is pull a URL from that txt file using a specific string (the root url). I have likely 15-20 urls matching the root but would like to select one at random. I'm new at this, but the only thing I've come up with thus far is to run them through a text field until i found one, but obviously this would destroy any speed the program has. Does anyone have any ideas on how to do this, I'm pulling my hair out trying to figure it out.
  14. Hey guys, can anyone help me figure this out. Basically, I want to set a temporary url when I enter a website, and then after performing the account creation I want scrape the url to determine if it's the exact same as the temporary url I set earlier in the sequence. set(#test, "http://yahoo.com/", "Global") if($comparison(#test, "=", $url)) { then { navigate("google.com", "Wait") } else { pause script } }
  15. I'll check that out, I'm still scratching my head trying to figure out how to say that with ubot. Do I throw the variable in and then say = 50 or is there another way, would you mind showing me a quick example please?
  16. At the moment my bot will run a loop and then it'll use increment to increase the variable at the end of the cycle. What I want to do is figure out how I can use an if statement to evaluate if the bot has reached 50 and if so then sleep, any ideas on how to do this?
  17. I have little to no experience with Iframes, would the following tutorials point me in the right direction? http://ubotstudio.com/blog/2010/09/24/ubot-studio-the-change-iframe-body-command/ http://ubotstudio.com/blog/2010/09/04/ubot-studio-tip-how-to-conquer-a-stubborn-iframe/
  18. I figure the best way to explain the situation would be through a picture. http://img30.imageshack.us/img30/7762/captureafy.png Basically I want to click the button circled in red in the image and paste in the next list item of a previously created list in the field that shows up when the button is clicked. I then want to click Ok, most likely done so in the exact same fashion as selecting the previously mentioned 'edit' button. The problem is no matter how I go about selecting it, wordpress is simply not complying. I'd love to provide the code but it contains the password to my priva
  19. That works perfectly, I appreciate it man. Thanks for your help as well ubotbuddy, I originally figured out that a one second delay would make the scrip work correctly but I plan on looping the program well over a million times so it's just not feasible. But once again I do appreciate the time you put into helping me.
  20. I've struggled for probably the last hour or so trying to get this to work and I'm all but ready to throw in the towel. I'm attempting to create a counting bot that attaches a string to the front of the scrapped information prior to saving it to a .txt file, it works o.k. except for the fact that if my computer lags in the slightest it skips numbers and ends up with duplicates of the same file where the next number should be. It sounds a bit complicated so I've inclosed my work thus far along with a sample of the .txt created. You'll run into duplicates as early as 46 in the .txt file if
  21. I appreciate that man, still a bit new at coding so I'm gonna try and dissect what's going on.
  22. Well guys, I guess I've put it off long enough and it's finally time to learn how to do it "for real". I'm attempting to take the next list item containing a string like this... http://facebook.com/3903843098403948 and I'd like to know what would be the best route of removing the http://facebook.com/ and leaving me just with the numbers. Out of sheer ignorance, I've taken to copying and pasting the list into Microsoft Word and replacing it, but for this bot to completely automated I'm going to need to try something different.
  23. Very interesting, for whatever reason it refused to display that when I tried it last and now seems to work exactly as intended. Thanks for the help brother, I guess =P
  24. Would really appreciate some help guys.
×
×
  • Create New...