Your mind will be blown by these five (5) line breaks.\n\n\n\n\n

Posted by meklu on Dec 20th, 2011

So, not too long ago Cheeseness started making his Humble Bundle charts a bit nicer and the end result is absolutely awesome. "Now what does this have to do with anything?" you may ask. Well, a robots.txt parser was something he wanted to have for checking whether or not it's okay to yoink the data off the Bundlers' page.

For some reason I offered to write one, and in roughly a day I had one ready. It wasn't the optimal solution and it was pretty dumb of a script, but it worked. Well, mostly. A couple of days later Cheese told me it didn't work with PHP 5.2. Well, I found a solution and made it less dumb. And lo, now it's in a pretty great condition after all. It knows how to do fun things and even tries to be clever!

I had lots of fun writing this little thingamajig and I actually learned something useful as well!

Anyways, I'd just like everyone who bothered reading through this post to have a chance at poking around the code and perhaps use it later on.

Download!

Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Level
Avatar
Avatar
Offline Since
Aug 24, 2013
Country
Finland Finland
Gender
Male
Member Watch
Track this member
Blog
Browse
Blogs
Report Abuse
Report article