junwenzh / price-monitor

MIT License
0 stars 1 forks source link

Setting up playwright to monitor price #17

Closed juliazlx closed 4 months ago

juliazlx commented 6 months ago

Playwright to monitor price that a user is tracking at regular intervals

junwenzh commented 6 months ago

Create a route that uses an url and selector to get the price using playwright.

junwenzh commented 6 months ago

Created an api route to get the price given a url and selector.

Next:

Add error handling. If the server fails to get the price, send a notification to the user. Stop the server from checking this website.

junwenzh commented 6 months ago

Partially done.

Created the skeleton to iterate through an array of urls then get the price through playwright.

Todo: