gabceb / node-metainspector

Node npm for web scraping purposes. It scrapes a given URL, and returns you its title, meta description, meta keywords, an array with all the links, all the images in it, etc. Inspired by the metainspector Ruby gem
MIT License
129 stars 52 forks source link

Added selfSSL option to fix https request rejection + og:description support + og:image relative path to absolute support #13

Closed Ndrou closed 9 years ago

Ndrou commented 9 years ago

To fix these errors :

Error: unable to verify the first certificate
    at Error (native)
    at TLSSocket.<anonymous> (_tls_wrap.js:929:36)
    at TLSSocket.emit (events.js:104:17)
    at TLSSocket._finishInit (_tls_wrap.js:460:8)

And for supporting meta og:description

Ndrou commented 9 years ago

Is this npm package not maintened anymore ?

gabceb commented 9 years ago

Yes it is. Sorry i missed this PR. Ill take a look later today

Ndrou commented 9 years ago

Added support for og:image relative path and added a test for og:description

19h commented 9 years ago

Please merge!

gabceb commented 9 years ago

Published new version with bumped minor. Thanks all!

19h commented 9 years ago

Thanks! :beers: