
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
metadata-extractor
Advanced tools
Metadata-Extractor is a lightweight web & node module which scrapes meta tags data in the details such as url, title, description, image etc...
Metadata-Extractor is a lightweight web & node module which scrapes meta tags data in the details such as url, title, description, image etc...
Using npm:
$ npm install metadata-extractor
Using yarn:
$ yarn add metadata-extractor
In Web Application:
import MetadataExtractor from "metadata-extractor";
In Node Application:
const { MetadataExtractor2 } = require("metadata-extractor");
import MetadataExtractor from "metadata-extractor";
await MetadataExtractor("https://www.youtube.com/watch?v=QNYB7Tsb880")
Response:
{
"theme-color": "rgba(255, 255, 255, 0.98)",
"title": "உருளைக் கிழங்கு செல்லக்குட்டி | Tamil Rhymes for Children | Infobells",
"description": "This Fun Tamil Rhymes for Children is are sure to delight your Children. This Tamil Kids Songs is presented by infobells.For More details visit : www.infobel...",
"keywords": "kanmani rhymes playlist, kanmani playlist, tamil rhymes, tamil rhymes for babies, tamil rhymes for children, tamil rhymes for kids, kids tamil rhymes, famous tamil rhymes, tamil rhymes playlist, kanmani 3D, kanmani, infobells, kutti pappa padalgal, pappa padalgal, tamil alphabets, tamil children songs",
"og": {
"site_name": "YouTube",
"url": "https://www.youtube.com/watch?v=QNYB7Tsb880",
"title": "உருளைக் கிழங்கு செல்லக்குட்டி | Tamil Rhymes for Children | Infobells",
"image": {
"url": "https://i.ytimg.com/vi/QNYB7Tsb880/maxresdefault.jpg",
"width": "1280",
"height": "720"
},
"description": "This Fun Tamil Rhymes for Children is are sure to delight your Children. This Tamil Kids Songs is presented by infobells.For More details visit : www.infobel...",
"type": "video.other",
"video": {
"url": "https://www.youtube.com/embed/QNYB7Tsb880",
"secure_url": "https://www.youtube.com/embed/QNYB7Tsb880",
"type": "text/html",
"width": "1280",
"height": "720",
"tag": "tamil children songs"
}
},
"al": {
"ios": {
"app_store_id": "544007664",
"app_name": "YouTube",
"url": "vnd.youtube://www.youtube.com/watch?v=QNYB7Tsb880&feature=applinks"
},
"android": {
"url": "vnd.youtube://www.youtube.com/watch?v=QNYB7Tsb880&feature=applinks",
"app_name": "YouTube",
"package": "com.google.android.youtube"
},
"web": {
"url": "http://www.youtube.com/watch?v=QNYB7Tsb880&feature=applinks"
}
},
"fb": {
"app_id": "87741124305"
},
"twitter": {
"card": "player",
"site": "@youtube",
"url": "https://www.youtube.com/watch?v=QNYB7Tsb880",
"title": "உருளைக் கிழங்கு செல்லக்குட்டி | Tamil Rhymes for Children | Infobells",
"description": "This Fun Tamil Rhymes for Children is are sure to delight your Children. This Tamil Kids Songs is presented by infobells.For More details visit : www.infobel...",
"image": "https://i.ytimg.com/vi/QNYB7Tsb880/maxresdefault.jpg",
"app": {
"name": {
"iphone": "YouTube",
"ipad": "YouTube",
"googleplay": "YouTube"
},
"id": {
"iphone": "544007664",
"ipad": "544007664",
"googleplay": "com.google.android.youtube"
},
"url": {
"iphone": "vnd.youtube://www.youtube.com/watch?v=QNYB7Tsb880&feature=applinks",
"ipad": "vnd.youtube://www.youtube.com/watch?v=QNYB7Tsb880&feature=applinks",
"googleplay": "https://www.youtube.com/watch?v=QNYB7Tsb880"
}
},
"player": {
"url": "https://www.youtube.com/embed/QNYB7Tsb880",
"width": "1280",
"height": "720"
}
}
}
const MetadataExtractor = require("metadata-extractor");
await MetadataExtractor("https://www.youtube.com/watch?v=QNYB7Tsb880", { type: "og" })
Response:
{
"site_name": "YouTube",
"url": "https://www.youtube.com/watch?v=QNYB7Tsb880",
"title": "உருளைக் கிழங்கு செல்லக்குட்டி | Tamil Rhymes for Children | Infobells",
"image": {
"url": "https://i.ytimg.com/vi/QNYB7Tsb880/maxresdefault.jpg",
"width": "1280",
"height": "720"
},
"description": "This Fun Tamil Rhymes for Children is are sure to delight your Children. This Tamil Kids Songs is presented by infobells.For More details visit : www.infobel...",
"type": "video.other",
"video": {
"url": "https://www.youtube.com/embed/QNYB7Tsb880",
"secure_url": "https://www.youtube.com/embed/QNYB7Tsb880",
"type": "text/html",
"width": "1280",
"height": "720",
"tag": "tamil children songs"
}
}
const MetadataExtractor = require("metadata-extractor");
await MetadataExtractor("https://www.youtube.com/watch?v=QNYB7Tsb880", { type: "twitter" })
Response:
{
"card": "player",
"site": "@youtube",
"url": "https://www.youtube.com/watch?v=QNYB7Tsb880",
"title": "உருளைக் கிழங்கு செல்லக்குட்டி | Tamil Rhymes for Children | Infobells",
"description": "This Fun Tamil Rhymes for Children is are sure to delight your Children. This Tamil Kids Songs is presented by infobells.For More details visit : www.infobel...",
"image": "https://i.ytimg.com/vi/QNYB7Tsb880/maxresdefault.jpg",
"app": {
"name": {
"iphone": "YouTube",
"ipad": "YouTube",
"googleplay": "YouTube"
},
"id": {
"iphone": "544007664",
"ipad": "544007664",
"googleplay": "com.google.android.youtube"
},
"url": {
"iphone": "vnd.youtube://www.youtube.com/watch?v=QNYB7Tsb880&feature=applinks",
"ipad": "vnd.youtube://www.youtube.com/watch?v=QNYB7Tsb880&feature=applinks",
"googleplay": "https://www.youtube.com/watch?v=QNYB7Tsb880"
}
},
"player": {
"url": "https://www.youtube.com/embed/QNYB7Tsb880",
"width": "1280",
"height": "720"
}
}
FAQs
Metadata-Extractor is a lightweight web & node module which scrapes meta tags data in the details such as url, title, description, image etc...
We found that metadata-extractor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.