diff --git a/Pipfile b/Pipfile index 11418b9b..319813bd 100644 --- a/Pipfile +++ b/Pipfile @@ -10,7 +10,7 @@ pyinstaller = "*" requests = "==2.24.0" click = "*" selenium = "*" -chromedriver-py = "==88.0.4324.96" +chromedriver-py = "~=90.0" furl = "*" twilio = "*" discord-webhook = "*" diff --git a/config/fairgame.conf b/config/fairgame.conf index 0f4c0434..271936aa 100644 --- a/config/fairgame.conf +++ b/config/fairgame.conf @@ -231,7 +231,7 @@ "//*[@id='sc-buy-box-ptc-button']" ], "ATC": [ - "//div[@id='aod-pinned-offer' or @id='aod-offer' or @id='olpOfferList']//input[@name='submit.addToCart']" + "//div[@id='aod-pinned-offer' or @id='aod-offer']//input[@name='submit.addToCart']" ], "ATC_BUY_BOX":[ "//div[@id='qualifiedBuybox']//input[@id='add-to-cart-button']" diff --git a/stores/amazon.py b/stores/amazon.py index 002580d2..8b1eceac 100644 --- a/stores/amazon.py +++ b/stores/amazon.py @@ -676,7 +676,7 @@ def check_stock(self, asin, reserve_min, reserve_max, retry=0): ) else: prices = self.driver.find_elements_by_xpath( - "//div[@id='aod-pinned-offer' or @id='aod-offer']//div[contains(@id, 'aod-price')]//span[@class='a-price']//span[@class='a-offscreen']" + "//div[@id='aod-pinned-offer' or @id='aod-offer']//span[@class='a-price']//span[@class='a-offscreen']" ) if prices: break @@ -844,7 +844,7 @@ def check_stock(self, asin, reserve_min, reserve_max, retry=0): log.error(f" Price: {price_float} + {ship_float} shipping") log.error(f" Max: {reserve_max}") - log.info(f"Offers exceed price range ({reserve_min:.2f}-{reserve_max:.2f})") + log.info(f"Offers exceed price range ({reserve_min:.2f}-{reserve_max:.2f})") return in_stock def attempt_atc(self, offering_id, max_atc_retries=DEFAULT_MAX_ATC_TRIES): diff --git a/utils/version.py b/utils/version.py index f49278b7..b26d1f85 100644 --- a/utils/version.py +++ b/utils/version.py @@ -27,7 +27,7 @@ # See https://www.python.org/dev/peps/pep-0440/ for specification # See https://www.python.org/dev/peps/pep-0440/#examples-of-compliant-version-schemes for examples -__VERSION = "0.6.4" +__VERSION = "0.6.5" version = Version(__VERSION)