fairgame
fairgame copied to clipboard
Cant evaluate offers, unable to grab prices
The bot is able to start chrome, search for items and when it is evaluuating the offers it fails. Here is the output:
2022-04-27 03:25:21|0.6.9|INFO|Checking stock for items.
2022-04-27 03:25:24|0.6.9|INFO|Found 11 offers for ASIN. Evaluating offers...
2022-04-27 03:25:24|0.6.9|ERROR|Traceback (most recent call last):
File "/Users/***/fairgame/cli/cli.py", line 66, in decorator
func(*args, **kwargs)
File "/Users/***/fairgame/cli/cli.py", line 257, in amazon
amzn_obj.run(delay=delay, test=test)
File "/Users/***/fairgame/stores/amazon.py", line 270, in run
asin = self.run_asins(delay)
File "/Users/***/fairgame/utils/debugger.py", line 34, in wrapper_debug
value = func(*args, **kwargs)
File "/Users/***/fairgame/stores/amazon.py", line 462, in run_asins
if self.check_stock(asin, self.reserve_min[i], self.reserve_max[i]):
File "/Users/***/fairgame/utils/debugger.py", line 34, in wrapper_debug
value = func(*args, **kwargs)
File "/Users/***/fairgame/stores/amazon.py", line 732, in check_stock
if not self.checkshipping and shipping_prices[idx].amount_float > 0.00:
TypeError: '>' not supported between instances of 'NoneType' and 'float'