Jump to content
UBot Underground

The_Brit

Fellow UBotter
  • Content Count

    106
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by The_Brit

  1. The_Brit

    DHTML events

    Find the JavaScript function on the page, cut and paste it into a JavaScript node in UBot, and then call the function yourself. e.g updateform(inVariable){ this is where the functions JavaScript code goes } /* Call the function */ updateform(someVariable);
  2. Try this one instead which works when you only need to strip from one piece of HTML at a time. The content on the var str line is what you would replace with the variable containing your HTML. What I did to test it was to set str equal to the entire HTML source. Dave stripHTML.ubot
  3. The return will always return something even if the string you are looking for exists or not. Also, indexOf returns the position of the string if it is found or -1 if it is not. All that said, here is a modified version that should work for you. Dave Working - Search.ubot
  4. Here you go. FYI, the JS node was created by adding a blank node, clicking on the JS code in the eval node, CTRL-C, click on the JS node, CTRL-V stripHTML.ubot
  5. That's correct. What I do is create the JavaScript in a regular JS node and then copy and paste it into the eval node. To create the eval node, start with a Set node but just click OK. Then right-click on it and add the eval from the math option but then just click OK to get back to the script. Now you can paste the JS into the eval node. Dave
  6. I would make it easier on yourself by doing a Find and Replace on the : in the text file with a comma and then process the file in UBot. Of course, this assumes there are no :'s in the username or passwords themselves and that the username:password pairs are each on separate lines. Dave
  7. The original use of this function was to pass in HTML form elements but it will still work as long as what you are passing in is enclosed in HTML tags. If you look at the var re line you may recognize the structure of an HTML tag, so technically, any string you send in that is enclosed in HTML tags should result in having them stripped out. Dave
  8. I haven't tested this I just threw it together as an example:- stripHTML.ubot dataItem1 and dataItem2 in the function call correspond to the names of the form elements you want any HTML tags to be removed from. You can do more than 2, just separate them with commas.
  9. Paste the code of the function into a JS node and then after the code put the function call eg Function StripHTML { Code here } StripHTML(); If you want the resulting text you need to put the Javascript inside an eval node to capture it
  10. Did you try page scraping using /STRONG> for the left and </A></LI> for the right and then just combine your search term with a space before the word you scraped? I tried it and it worked for me. Dave EDIT: You need to have LI as the starting attribute for the page scrape and not not A or STRONG which are a couple of the choices I have seen it default to.
  11. I dodn't go through the code on the samples above, but you can achieve getting the drop-down to appear in Google by sending a space after your keyword as well. I used this method some time ago to scrape keywords from the suggestion list and as far as I know it still works.
  12. This has actually been brought up a couple of times before and requested to be changed so that you can specify a port. Dave
  13. I created a bot this morning to see if it was doable. Anyone want to buy it? Dave EDIT: I can provide a demo of it, restricted to returning only one of the items in the list. I'll have to email it as the compiled version is too big to upload here. Results are in c:\google_search_suggestions.txt.
  14. You need to put double quotes around each of the data elements e.g. "123 Main St, Any Town CA 90210"
  15. There was another thread with this exact issue. It would be beneficial to some if you could share how you resolved the problem. Thanks Dave
  16. This should get you past it. You really only need the JavaScript piece I just did the rest so you could go to the page and click run and watch it create an account. Change the values it fills in the fields with first. Dave 2pt.ubot
  17. You are welcome. Sometimes a little nudge can push you a long way. Dave
  18. Hopefully this will help you get past the problem.
  19. Having the same problem with includes. I am sending a value to be base64 encoded and I get nothing back.
  20. You can use the MySQL workbench to administer the system or there is a web based admin solution too (phpMyAdmin I think it is). As far as getting the data into the database itself from the CSV file, it is a one line command. Dave
  21. You can import your extracted data directly into MySQL from a CSV file already. This gives you a free option using a very robust database platform. Dave
  22. Got any site that use the editor? Maybe I can take a look at it. Dave
  23. I'd be happy to take a look at it for you too. Dave
  24. I tried two of the sites and neither one of them produced a pop-up. They went straight into the site after hitting the join or create account buttons. Dave
  25. You're welcome. It can be tricky sometimes as you have to find the correct "Form" to submit. So, for the other sections of the page the part after document. would change. Dave
×
×
  • Create New...