Menu

1 / 2

My deal bot showed me 148 picks in two weeks. It was 61 products: ClothingLab

DEV Community: github·Christian Anderson·1 day ago
#mjxqFb78
#devtogithub#technology#devto#dev#size
Reading 0:00
15s threshold

I built myself a deal bot for clothes. Every morning it posted sale picks to Discord: things from shops I actually buy from, in my size, in stock. It worked. Then I counted what it had posted.

148 picks in 14 days. 61 different products. One brown zip hoodie turned up 23 times over four weeks. A pair of trainers ran 13 days straight. The bot wasn't finding deals any more, it was nagging me.

That's the first of three failures that ended up as ClothingLab , a free tool that does the boring part properly: sale stuff that's in stock in your size , from shops you pick, without showing you the same thing twice.

Failure 1: it kept showing me the same hoodie

The daily post had sections: top picks, "on trend", looks, new in your size. Each one picked from the same pool. Top picks only remembered the last three days, and when everything had been seen it fell back to showing the whole list again. The "on trend" section didn't check what I'd seen at all.

The fix is one ledger that every section shares.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.