convert url to handle spaces
Merge pull request #1 from AmandaAccalai/fix-url-encode

convert url to handle spaces