Throw error on invalid url
Merge pull request #1 from wesleylancel/master

Throw error on invalid url