codev

u/codev


r/programming•

I noticed that a lot of craigslist.org posts have cached images in case the page gets pulled and for redditors who work somehwere craigslist is blocked. So I wrote a quick script which I'm running on a server to post an imgur link every time it finds a craigslist post. The tool is in python, is GPL'd and the code is available here:

http://github.com/codev/ric

Obviously you shouldn't run it as it is because I'm already doing that (you can run it in demo mode to just generate the images without posting comments) but the code might be useful for similar tools. Improvements are very welcome, as the license implies.

It has three parts which you can use in your own projects:

  • a bit of an imgu
4017

You've reached the end of this feed.