3 ms·
Yes, it's open source. Here's the link [1]. I'm sure there's some sort of rule against posting code this bad on HN, bit worried it'll get my hacker status revo
by mattkevan 5y ago
Yes, it's open source. Here's the link [1].
I'm sure there's some sort of rule against posting code this bad on HN, bit worried it'll get my hacker status revoked :). Was a total Ruby n00b when I wrote this (still am) - haven't even worked out how to handle offsets in the Etsy API.
Anyway, it does a good job of creating Jekyll collection items from Etsy listings – here's the site I'm building with it, though it's still a work-in-progress [2].
[1] https://github.com/MattKevan/Etsy-API-to-Jekyll https://github.com/MattKevan/Etsy-API-to-Jekyll
[2] https://dev.thedoveandtheseagull.com https://dev.thedoveandtheseagull.com
- weaksauce 5y agofor what it is and does it's pretty alright... I mean it's a simple script to munge some data and there isn't much more you need to do with it. you don't need fully well thought out full object oriented solution with a bunch of error handling and stuff for a scraper doing 100 records at a time. one nit is that ruby generally doesn't use tabs and only uses 2 spaces.