Skip to content

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

@davefogo

Description

@davefogo

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.

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions