leesei/node-comics-feed — pull request #1 by eguendelman (2014-11-03 22:11:40+00:00)
Title: Added support for Cyanide & Happiness comic

Hi,
I've added support for scraping & embedding images / youtube thumbnails from the Cyanide & Happiness comic at http://feeds.feedburner.com/Explosm

There is one ugly bit in lib/main.js where I do:
url = url.replace("www.explosm.net","explosm.net");
because trying to get http data from www.explosm.net results in a redirect (301 I think) which the http module does not happen. I tried using a different module (follow-redirects) which supposedly wraps http to handle redirects, but that resulted in some very strange timeout issues which I did not get a chance to fully investigate.

There are a few other small changes
- slightly better error handling in _loadStripUrl (in case no image was found, which happens in this specific comic sometimes)
- changed the name of the resulting RSS feed by suffixing with "- embedded". I just needed a way to distinguish it from the original feed...
- Sorry that I have uncommented some of the console.log calls... If you prefer I can comment those out again.

P.S. this is my first time with github, forking, pull requests, etc. so please be gentle. :)