Hari-Nagarajan / fairgame

Tool to help us buy hard to find items.
GNU General Public License v3.0
2.44k stars 803 forks source link

Stuck at Evaluating Offers #615

Open warren1215 opened 3 years ago

warren1215 commented 3 years ago

Describe the bug I start the bot and it gets stuck when trying to add the USB to my cart: image image

To Reproduce Steps to reproduce the behavior:

  1. Start the bot.
  2. Gets stuck at the page where it should add item to cart.

Expected behavior It should add the USB to the shopping cart but continues to "Evaluate Offers.." and start over.

Screenshots If applicable, add screenshots to help explain your problem. These are found in the bot directory.

Desktop (please complete the following information):

DakkJaniels commented 3 years ago

There seems to be an issue with the shipping text for that USB item. Turn on --checkshipping and it will work.

x-humanoidtyphoon-x commented 3 years ago

Literally came here to post this exact issue! Does turning on --checkshipping really solve this issue? That would be a godsend. Gonna try it and see if I get better result. I have hope now!!!

For reference here is what I'm getting on the ASUS Tuf OC RTX 3070:

image

DakkJaniels commented 3 years ago

It was already able to parse the shipping language in there, and assumes it is free, like the message says, is there some issue with the screenshot you just posted?

x-humanoidtyphoon-x commented 3 years ago

I mean, only that it never bought anything. It just looped on evaluating offers.

x-humanoidtyphoon-x commented 3 years ago

I should also note that I have successfully tested the bot by completing three purchases prior to getting this message with the same settings I'm currently using, which is --delay=0.5 and no other additional terms.

And for reference, this is what my amazon_config.json contains:

{ "asin_groups": 1, "asin_list_1": ["B08L8KC1J7"], "reserve_min_1": 400, "reserve_max_1": 1000, "amazon_website": "smile.amazon.com" }

x-humanoidtyphoon-x commented 3 years ago

Also, before anything else, thank you SO much for responding!

DakkJaniels commented 3 years ago

Oh, yes, on that USB item, its not parsing the shipping language correctly, so it's not assuming it is free. I think for most of the stuff you would buy with the bot (GPUs, CPUs) it will parse the shipping language correctly, as your screenshot shows.

x-humanoidtyphoon-x commented 3 years ago

Alrighty. So my ray of hope is dwindling. I want to ask further why it might not have proceeded to add anything to the cart. Should I start a new thread since it seems like my issue is different from the OP?

DakkJaniels commented 3 years ago

I don't understand what you are asking about, the USB or the 3070?

x-humanoidtyphoon-x commented 3 years ago

Thanks for asking me to clarify. More than happy to! I am asking about the 3070.

I posted in reply to this thread only because the issue in the title of the thread appeared to be similar to mine and it did not seem at the time to be necessary to start a new thread if the issues happened to be one and the same. However, my issue has nothing to do with the USB stick that OP is asking about. Rather, mine is a distinct issue regarding the 3070 and the screenshot I posted.

DakkJaniels commented 3 years ago

Just noticed your edits... Did you look at the browser when it said what you showed in terminal? Did the product meet your price settings?

x-humanoidtyphoon-x commented 3 years ago

Actually, there was just a drop of 3070s that hit moments ago and I was able to observe the browser behavior. The flyout opened and presented the offer with the add to cart button visible. However it pretty instantly moved on without trying to add anything to the cart. The thing I noticed was that it said the item was used. Does this mean I would have had to have the --used term included for the bot to buy it, or because it showed in the offers flyout, does that mean it already met the criteria for the bot to buy it, but it just didn't?

x-humanoidtyphoon-x commented 3 years ago

Oh, and to answer your specific question about price; yes. The product showed for around $460, which fit neatly into my price specifications.

DakkJaniels commented 3 years ago

If you do not use the --used flag, and the item was used, it did not meet your criteria.

x-humanoidtyphoon-x commented 3 years ago

That makes it very clear. Thank you. I have added the --used flag and started the bot again. Here's hoping for another drop in the near future.

YangDaGod commented 3 years ago

This could've been found in the "Running the Program" section of the read me file