3 ms·
while (gift == null) gift = tryGetAny(giftShop, 1); // bug: programmer might never return ever Looks very interesting might give it a try. Honestly I would
by raxxorraxor 5y ago
while (gift == null)
gift = tryGetAny(giftShop, 1); // bug: programmer might never return ever
Looks very interesting might give it a try. Honestly I would start to crawl the usual suspects like Amazon. You could even use the constraints as a search term. "gift male" might net you some results to start with and you could already classify the results respectively. And then maybe use the info from these articles to crawl more sites for similar stuff.
- cvanvlack 5y agoYeah, I am making my Amazon web crawler/scraper now. It’s the tags that are tricky. Regarding “gift male” I am actually going in the opposite direction. I want to stay away from generic and try to go unique. For instance, a few people have put in “3D Printing” as tags for their husbands so I have been scraping ideas that might be agnostic of the 3D printer model they have. Reddit has been a huge help! When you are getting a gift that's not for you, you're probably not into "their thing" nearly as much. So product discovery is kind of what you need.