Jump to content
UBot Underground

The_Brit

Fellow UBotter
  • Content Count

    106
  • Joined

  • Last visited

  • Days Won

    1

The_Brit last won the day on May 29 2010

The_Brit had the most liked content!

Community Reputation

13 Good

About The_Brit

  • Rank
    Advanced Member
  • Birthday 01/18/1971

Contact Methods

  • MSN
    emersond@hotmail.com

Profile Information

  • Gender
    Male
  • Location
    GA

System Specs

  • OS
    Windows 8
  • Total Memory
    < 1Gb
  • Framework
    v3.5
  • License
    Standard Edition

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  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
×
×
  • Create New...