DEV Community

Fayaz Ahmed
Fayaz Ahmed

Posted on

4 1

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.

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay