An Interest In:
Web News this Week
- March 21, 2024
- March 20, 2024
- March 19, 2024
- March 18, 2024
- March 17, 2024
- March 16, 2024
- March 15, 2024
May 21, 2020 12:26 am GMT
Original Link: https://dev.to/fayazara/i-generated-content-for-my-prev-dev-to-article-with-node-1dme
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:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To