Store xpath selection - out of date? #1407
Unanswered
stephenwil
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Started using this today to help stock check for PS5, but noticing the logic for scraping some of the stores pages is (possibly) out of date?
Maybe the stores have changed their markup, or need the scraper logic to be updated?
E.g. Game in the UK have their page (after a redirect) at: https://www.game.co.uk/playstation-5
The logic in the stores is:
labels: { inStock: { container: '.buyingOptions', text: ['Pre-order Now', 'Buy New'] }, maxPrice: { container: '.buyingOptions .btnPrice', euroFormat: false }, outOfStock: { container: '.buyingOptions', text: ['out of stock'] } },
But there aren't any containers with a class of 'buyingOptions' , so it will always show out of stock.
Can you specify more entries of inStock and outOfStock?
Beta Was this translation helpful? Give feedback.
All reactions