Jump to content
UBot Underground

Recommended Posts

In previous versions when you used a 'type text' to type text into the search bar in Amazon it used to show the Search Suggestions that Amazon would return in your regular browser. I use these Search Suggestions as part of my bot.

 

When I say previous version I can only really comment on 5.5.13 which is on my laptop & the bot still shows the search suggestions. I would use the laptop but the performance is lacking & it keeps over-heating.

 

If I click manually and type a space in the UBot version of the browser it shows the the Search Suggestions but not when I use the UBot Click command.

 

Does anybody have any suggestions?

 

I suppose I could put in a 'pause script' & a message saying I need to manually click

Link to post
Share on other sites

it work but not good.

if have other way i post this.

navigate("http://www.amazon.com/","Wait")
wait for browser event("Everything Loaded","")
wait(1)
comment("change this. it different each bot.")
plugin command("WindowsCommands.dll", "type keys", "Test 6.ubot*", "HwndWrapper[Ubot Studio.exe;;9965bf92-415d-441f-b08e-7d94b143995e]", 896, 165, "dll")
wait(1)
alert($scrape attribute(<id="nav-flyout-searchAjax">,"innertext"))
Link to post
Share on other sites

 

it work but not good.

if have other way i post this.

navigate("http://www.amazon.com/","Wait")
wait for browser event("Everything Loaded","")
wait(1)
comment("change this. it different each bot.")
plugin command("WindowsCommands.dll", "type keys", "Test 6.ubot*", "HwndWrapper[Ubot Studio.exe;;9965bf92-415d-441f-b08e-7d94b143995e]", 896, 165, "dll")
wait(1)
alert($scrape attribute(<id="nav-flyout-searchAjax">,"innertext"))

Thanks pash

 

I've already put in the following code:

 

        navigate("http://www.amazon.com","Wait")

        wait for element(<id="searchDropdownBox">,"","Appear")

        change dropdown(<id="searchDropdownBox">,"Kindle Store")

        wait(3)

        wait for element(<outerhtml="<option value=\"search-alias=digital-text\">Kindle Store</option>">,"","Appear")

        type text(<name="field-keywords">,#kw,"Standard")

        alert("Click the Search box, type in a Space then click Run")

        pause script

 

I'm not familiar with the plugin command. Amazon are always changing their coding so I wouldn't know how to adapt mine to suit. I think I'll stick with what I've used for the minute.

 

Thank you for all of the trouble you've gone to. I will check out the plugin command & what you've given me when I have a few minutes though.

Link to post
Share on other sites

or use this (it very easy and faster)

navigate("http://completion.amazon.com/search/complete?search-alias=aps&client=amazon-search-ui&mkt=1&q=canon","Wait")

 

Link to post
Share on other sites

 

or use this (it very easy and faster)

navigate("http://completion.amazon.com/search/complete?search-alias=aps&client=amazon-search-ui&mkt=1&q=canon","Wait")

Thank you so much for this. It is so much faster. This will save loads of time both in extracting the data as well as programming in the future.

 

I have never come across 'completion.amazon.com' before

 

 

Link to post
Share on other sites

 

 

I have never come across 'completion.amazon.com' before

 

 

 

It's a hidden API, most sites with built in search engines use them. You can typically find them using Fiddler or Chrome Dev Tools look on the network tab when you type in the search box.

Link to post
Share on other sites

It's a hidden API, most sites with built in search engines use them. You can typically find them using Fiddler or Chrome Dev Tools look on the network tab when you type in the search box.

Thanks for that.

 

I've had a look at the Amazon pagenusing the Chrome Dev Tools. I have to say that it's way beyond me to make any use of it.

 

I think I'll have to stick with Regular Expressions etc on the source code when the pages are loaded to grab things like Best Sellers Rank.

 

Thanks for pointing it all out though.

Link to post
Share on other sites

 

or use this (it very easy and faster)

navigate("http://completion.amazon.com/search/complete?search-alias=aps&client=amazon-search-ui&mkt=1&q=canon","Wait")

Is there a fast way to get the category results down that show down the lefthand side of the search page?

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...