OTYeah, I forgot to mention that for some websites the markup is generated from javascript by the browser and for most of these a simple fetch request won't return all the needed content. You can try another approach where you fetch the content with a headless browser instead.Reply·Article·Sep 2, 2024·Generating Link Previews with React and Nodejs
OTI will share in a bit Mausoof AbdullahReply·Article·Jan 23, 2024·Generating Link Previews with React and Nodejs
OTYeah, but if you want this to be more advanced, something like puppeteer would be the way to go.Reply·Article·Mar 14, 2023·Generating Link Previews with React and Nodejs