Jump to content
UBot Underground

JDJ

Fellow UBotter
  • Content Count

    22
  • Joined

  • Last visited

Everything posted by JDJ

  1. Would like to know if anyone can tell me if this will work before I attempt to do this on my LInux server which could be quite a task. Thanks.
  2. Glad you got the answer, sorry if I confused you further.. as I was suggesting some logic that could be used to do it without bothering with regular expressions at all - but didn't have time to come up with the code last night.
  3. Do you need to use a regular expression for this? It looks like each travel information paragraph itself contains no newlines - so each separate item is deliminated by a newline? You could create a list based on everything between the outside paragraph tags with a newline as the delimiter, then remove any line that starts with <br> or <strong> .
  4. I actually ran into some further issues with Json parsing and string manipulation that can be handled easily with Javascript, but unfortunately ran into out of memory errors when using Ubot's built in eval statement.. I tried opening and closing browsers to do the work, but this led to browser.exe crashes... so I decided to create a plugin that uses an alternative javascript engine to the one in the browser to do the eval work.. and it works great without the memory issues and extremely fast (actually.. testing out more scripting with it - it seems it may be even faster than Ubot at a lot of
  5. I would say definitely use regex for this for reasons of stability and speed. I've written a bot that parses through thousands of json responses from a few different APIs.. Originally I used the eval function to go through the results but the memory usage from browser.exe was massive with just a few hundred results, the speed was terrible, and occasionally there would be browser.exe crashes. Regular expressions worked quickly and without any issues.
  6. Nice find. Is it just me though, or does this cause browser.exe to crash more often?
  7. Unless it's your own server logs that you're looking at the tracker is javascript or image based.. neither of which will load if you are loading the page with sockets. You'll need to load the page in a browser probably with javascript and images on.
  8. May be a bad assumption by me.. but with 50 threads I'm guessing you're using sockets? If that's the case you won't show up on a javascript based tracker.
  9. Are they zipped up, or are you sending over raw .exe files?
  10. You could also just use Javascript and a regex - built this from a result on the first page of Google: navigate("http://www.ubotstudio.com/resources", "Wait") alert($eval("var word = \'Ubot\'; var text = document.body.innerHTML; var regex = new RegExp ( word+\'(?=[\\\\s.,;—)\"”\\\\\'-]+)\', \'gi\'); text.match(regex).length;")) Gets the count for a specific word - Ubot in this case.
  11. It's definitely doable.. you can use the find index command to find the index of each piece of text under text functions. Find the first piece of text with find index, then get the substring from the end of the word (the index found + the length of the word) and find the next index within the substring and so on until you cannot find the word in the substring.
  12. Thanks for the example. Looks like ip.cc is going to get hit hard by some ubotters!
  13. I think it's interesting that you got it working at all in V4 UbbotBuddy I thought I was the only one until I saw one of your videos talking about how child wasn't working right in v4. I couldn't even get the most basic example - based on some html shown in the Ubot documentation to run properly. set(#pageText, "<html> <head> <title>DOM Tutorial</title> </head> <body> <h1>DOM Lesson one</h1> <p>Hello world!</p> </body> </html>", "Global") load html(#pageText) alert($scrape attribute($element child(&l
  14. I've encountered this issue also great2bme.. it appears as though element child does not work properly - as it did way back in Ubot 3.5. There are way more instances now (Ubot 4 and 5) when element child returns a blank value even though you can see there is a child in the advanced element editor, and then really the only way to get that attribute is to scrape the whole thing and edit the string.
  15. For myself browser.exe was freezing, and that issue has resolved itself.
  16. There are some bugs but they seem to be resolving quickly.. and compared with the version 3.5->4 update things are going much better. That being said I like the cool extra tools they put in 5 like the regex editor (so you can be 100% sure your regex works with Ubot quickly), and the recorder. Right now I've got 4nd 5 open.. creating in 4, but using the tools in 5 for assistance.
  17. Hi Net66, Thanks for the reply. I have since changed the bot to only work with one thread, and am not going to try to make it faster until I have it going perfectly. So, I can't take a screenshot of it now, but I'll remember to do that next time I enter a question. What I was trying to do was have multiple browser windows parse different result pages simultaneously, ie.. one page working on results 1-100, another 101-200, another 102-300, another 301-400 and so on.. in order to get things done faster.
  18. Quick update: I removed the code from the different threads saving to the same variable, and it had no effect.
  19. Hey guys, just got Ubot yesterday, and have been learning how to use it. I went through all the tutorials which were pretty simple, and I didn't see this covered in there. I've created a bot that grabs urls from a specific search engine, and what I'd like to be able to do is have this done simultaneously with each page if more than one page of results exists. The problem: While everything is opening in a new thread/window eventually one of the windows closes (usually one of the first ones, but never the first which you would think would finish first) and then the whole script shuts of
×
×
  • Create New...