added file renamer

The weheartit website changed the structure it stored the entries' pages so I had to update according to that.
I included a snippet to rename the downloaded files to add the required extensions.
Revised code to include gif images.