PhoenixBot icon indicating copy to clipboard operation
PhoenixBot copied to clipboard

[BUG] Bestbuy Doesn't Work | KeyError: 'skuId'

Open davefogo opened this issue 3 years ago • 0 comments

Expected Behavior

Expected PhoenixBot to automate login, add to cart and checkout at Bestbuy.com

Actual Behaviour

Task stuck on idle, process doesn't start and error in console.

Error:

Traceback (most recent call last):
  File "/Users/davefogo/Documents/Workspace/learn/ps5/PhoenixBot/pages/homepage.py", line 522, in run
    BestBuy(self.status_signal, self.image_signal, self.product, profile, proxy, self.monitor_delay, self.error_delay) #TODO: Readd Discord Webhook
  File "/Users/davefogo/Documents/Workspace/learn/ps5/PhoenixBot/sites/bestbuy.py", line 91, in __init__
    self.sku_id = parse.parse_qs(parse.urlparse(self.product).query)['skuId'][0]
KeyError: 'skuId'

Repro Steps

  1. Start PhoenixBot
  2. Press play on Best Buy task

Desktop Configuration

  • OS: MacOS 11.6
  • Browser chrome
  • Version 94.0.4606.61

Additional Context

Only Gamestop works correctly at the moment.

davefogo avatar Oct 06 '21 10:10 davefogo