Incorrect url parsing

the newline makes the url is corrupted
Merge pull request #10 from elpancholopez/patch-1

Incorrect url parsing