Jump to content
UBot Underground

Recommended Posts

Hi,

 

How do you get UBot to use the autocomplete function of search engines? My aim is to be able to input a word to a search engine text box and extract all of the autocomplete results, for both before and after the keyword.  So, the bot would go to google, bing, or similar, and enter

 

keyword a

keyword b

keyword c

 

for the whole alphabet and download all of the autocomplete results to a text file. 

 

Similarly, it would do the same for:

a keyword

b keyword

c keyword 

 

Please note that I wish to achieve this without using api because there are a number of places I want to extract results where there is no api available.

 

Many thanks,

 

John

 

 

Link to post
Share on other sites

For the most part they all have hidden API's which you can use Fiddler to see the requests being made.

 

But for a more basic example to just scrape the search field autocomplete you could use the change attribute command to change the keyword over and over again in the box and then just scrape the dropdown.

 

So for Google it may look like:

change attribute(<name="q">,"value","water b")
add list to list(%keywords,$scrape attribute(<class="sbqs_c">,"innertext"),"Delete","Global")
  • Like 1
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...