metadata-scrapper

    1.0.6 • Public • Published

    MetaData Scrapper

    NodeJS JavaScript

    Metadata-Scrapper is a lightweight Node.Js Web Scraping Module which would help scraping out the details in meta tags such as url, title, description, image etc. in different webpages. It makes scraping easy by allowing the user to just enter the required URL of the page.

    Installation

    Install with the help of following command:

    npm install metadata-scrapper
    

    Running the module

    Use the following Code snippet:

    const metadataScrapper = require('metadata-scrapper');
    
    //replace your actual URL
    const url = "https://www.example.com" 
    
    metadataScrapper.Crawler(url)
    .then((data)=>{
        // Your scrapped content stored in data
        console.log(data);
    })
    .catch(err=>console.log(err);)
    

    Contributors

    Install

    npm i metadata-scrapper

    DownloadsWeekly Downloads

    2

    Version

    1.0.6

    License

    ISC

    Unpacked Size

    3.44 kB

    Total Files

    3

    Last publish

    Collaborators

    • shaharyar-shamshi
    • kushagra-johari