Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


eraser2

11 posts

Geek


#317459 16-Oct-2024 22:47
Send private message

I want to monitor this page for sale : https://www.skechers.co.nz/infants-comfy-flex-2-0-happy-stride-302742n-pnk.html


I am currently using Distill Web Monitor (Firefox extension) but it doesn't work for this site as the div seems to be generated "randomly"
XPath for the Price DIV looks like this: `//div[@id='root']/main[contains(@class,'fHrXGx')]/div[@class='page-content']/form[contains(@class,'djtePk')]/div[contains(@class,'sc-cbDwiu')]/section[contains(@class,'kSBkhL')]/section[contains(@class,'kSBkhL')]/div[contains(@class,'cDocgP')]/span[contains(@class,'dLJhLe')]`


Which then change each time and Distill Web Monitor will return "Empty" selection


Anyone have a good way to monitor price ? 


Create new topic
CYaBro
4582 posts

Uber Geek

ID Verified
Trusted

  #3298331 17-Oct-2024 02:21
Send private message

Probably overkill for a single site but could be an option perhaps?




Opinions are my own and not the views of my employer.




taneb1
516 posts

Ultimate Geek

ID Verified
Trusted
Mercury

  #3298373 17-Oct-2024 10:25
Send private message

You can use their GraphQL API to query the product directly if you look at your browser logs when opening the page its the "getProductForPDP" call.

 

There is a price section directly on that response which you can then use to monitor changes.

 

 





Any comments made are my personal views and does not represent those of my employer


eraser2

11 posts

Geek


  #3298376 17-Oct-2024 10:32
Send private message

Nice ! Thanks for the tip !


Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.