wikimedia/html-metadata

passing url without http fails

moblizeit opened this issue · 2 comments

i am passing url like www.lightercapital.com rather http://lightercapital.com and this fails with error

HTTPError: Invalid URI "www.lightercapital.com"
at request.then (/srv/node_modules/preq/index.js:246:19)

is it possible to handle this?

can u please share the concerned code? And yes its possible to handle this.

I just tried doing what u are saying it works perfectly fine with me. No error is coming.