U
/u/virtual_adam
Guest
Years ago, I hacked together a simple monitor for the Mr. Porter sale, to get updates on item restocks, and sale percentage going up.
Original inspiration and help came from /u/mrporter_bot, but the API has changed many times since, and every year I did the minimal work to keep it working
I've always wanted to clean it up a bit and release it for the FMF crowd to use.
So here it is
You probably need some engineering background, but minimal. It creates a page on http://localhost:3000/porter-restock that always has the latest "restocks" at the top, you need to manually refresh the page to see what the latest is
The downside
This utilizes the Mr. Porter API that renders the sales pages. It's far from perfect, example problematic scenarios I've seen:
With all that, I still use it every single season, because I'm able to find great restocks by randomly checking the page throughout the day. Lots of false positives, but when you hit that 70% off Common Projects, it's worth it for me. Important to note this really only shows its worth when 70%-80% come around
Potential upgrades: you can add different hooks into the code to trigger an alert of any kind, once something specific goes back in stock, or once the percentage drops to 70 or 80 for the first time.
There are also probably ways to make the code more restock-accurate
This code is old and ugly, so if anyone wants to upgrade it, feel free to open a PR
submitted by /u/virtual_adam
[link] [comments]
Continue reading...
Original inspiration and help came from /u/mrporter_bot, but the API has changed many times since, and every year I did the minimal work to keep it working
I've always wanted to clean it up a bit and release it for the FMF crowd to use.
So here it is
You probably need some engineering background, but minimal. It creates a page on http://localhost:3000/porter-restock that always has the latest "restocks" at the top, you need to manually refresh the page to see what the latest is
The downside
This utilizes the Mr. Porter API that renders the sales pages. It's far from perfect, example problematic scenarios I've seen:
- Item comes up as a restock, but actually has 2-3 sizes in stock, was never really out of stock
- Item comes up as a restock, but is still out of stock for 5-10 minutes, then actually comes back in stock
- Item comes up as a restock, but actually just sold out (I believe MrP removes it then re-adds it as sold out, or something)
With all that, I still use it every single season, because I'm able to find great restocks by randomly checking the page throughout the day. Lots of false positives, but when you hit that 70% off Common Projects, it's worth it for me. Important to note this really only shows its worth when 70%-80% come around
Potential upgrades: you can add different hooks into the code to trigger an alert of any kind, once something specific goes back in stock, or once the percentage drops to 70 or 80 for the first time.
There are also probably ways to make the code more restock-accurate
This code is old and ugly, so if anyone wants to upgrade it, feel free to open a PR
submitted by /u/virtual_adam
[link] [comments]
Continue reading...