Remove unnecessary spaces
Replace curl with open-uri