Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
May 21, 2020 12:26 am GMT

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.


Original Link: https://dev.to/fayazara/i-generated-content-for-my-prev-dev-to-article-with-node-1dme

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To