Strip3s / PhoenixBot

Phoenix Bot - A Bird Bot Resurrection
MIT License
262 stars 111 forks source link

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

Open davefogo opened 2 years ago

davefogo commented 2 years ago

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

Additional Context

Only Gamestop works correctly at the moment.