Link Preview JSという、「allows you to extract information from a HTTP url/link (or parse a HTML document) and retrieve meta information such as title, description, images, videos, etc」なレポジトリがあった。github.comそこでは、cheerioというライブラリを用いて、パースされたレスポンスから特定の要素を取得している。 https://github.com/ospfranco/link-preview-js/bl…