DEV Community

Fayaz Ahmed
Fayaz Ahmed

Posted on

I generated content for my prev dev.to article with Node 😎

I was making a list of free tools for devs, for my post and I realised I could just scrape the urls metadata instead of writing their description manually.

I made use of this npm module https://metascraper.js.org/ and wrote a async function which accepted a list of comma seperated URLs and generated a markdown file with title, url and description.

Posting this from my phone, will share code later.

PS, the categories in the article & some urls didn't have description, they were added manually.

Top comments (2)

Collapse
 
maxgreive profile image
Max Greive

Posting this from my phone, will share code later.

Can you explain the process of how you got this to work? Or did you share it somewhere else?

Some comments may only be visible to logged-in visitors. Sign in to view all comments.