-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible issue with search? #45
Comments
This is a weird one, I'll let you know when I've got a solution. In the meantime, what country's Amazon are you using? |
Hey there, I'm looking at US Amazon. Thanks for looking into it! |
Tried doing the same thing and it worked fine. Was there any more to the console output? Can you try it with the |
Here's the output with debug enabled:
|
Well, I can't be sure about why it would be failing to output search results, but I do see the problem with |
Not sure if it is at all related, but I also noticed several of my watchlist items don't have a title, but one does:
|
Also, even though the 6th watchlist item has a valid price, it did not pull the price (or so it seems). The watchlist.json file shows price of 0, but Amazon's site shows 149.99
*** UPDATE *** I unwatched and re-watched, for some reason now it's showing the 149.99 price for the 6th item. |
Usually, it's a bad sign when the bot gets the page in around 2000ms instead of about 6000ms, as well as the "Empty values" warning. Usually this means that the page Amazon returns is not the page of the item, but a captcha or other form of rate-limiting. Best thing you can do in that scenario is stop the bot for a little while, go onto Amazon from a browser and make sure it works fine that way, and try again in a few minutes. There is no real fix for this other than waiting, unfortunately. |
I think you're right. I stopped the bot, and ran a curl command manually, and see this:
I wasn't aware of the captcha's Amazon does just for browsing pages, probably because I usually do it as a human manually. That's a bit of a bummer. I guess I'll wait a while and see if that goes away, and if so, set the interval for every 5 min or so maybe. Thanks for checking in on it, and sorry for wasting your time! |
No worries! It's not the most clear of issues. I'll see about making the interval a tweak-able setting in order to try and prevent stuff like this. |
Seems search is trying to send an empty message back to Discord, or at least that's my interpretation of this, perhaps I'm interpreting it wrong?
I tried this with '!search Ryzen 9'
Running !search Ryzen comes back with 16 results. I also am unable to run !quickwatch 16 for example. It does not add it to the watch list when I do get valid results and run a !quickwatch [number]
I tried googling around, but I think this is specific to the app and how it's processing, or perhaps I did something wrong with the install on my end, but I can't find a solution via googling so far...
Thanks for any help you can provide! Awesome app/bot too, thanks for making it!
The text was updated successfully, but these errors were encountered: