Working version

Hi,

I make your refactored version work. Fixing small issues...

I also corrected a bug in URL encodings. In some feeds, images with non-ascii characters weren't downloaded. ie: http://geektionnerd.net/feed/