url-metadata-scraper
                                
                                
                                
                                    url-metadata-scraper copied to clipboard
                            
                            
                            
                        Tiny Vercel serverless function to scrape metadata from a URL
URL Metadata Scraper 
Tiny Vercel serverless function to scrape metadata from a URL.
Deployed at url-metadata-scraper.vercel.app.
Uses the Metascraper library.
Setup
- Fork this repo
 - Link it to your Vercel dashboard
 - That's it 👍
 
Usage
Call /api/scrape providing a valid URL to the url query parameter to get a JSON response with the URL metadata.
For example, https://url-metadata-scraper.vercel.app/api/scrape?url=https://google.com returns:
{
  "lang": "en",
  "author": null,
  "title": "Google",
  "publisher": null,
  "image": "https://www.google.com/images/branding/googleg/1x/googleg_standard_color_128dp.png",
  "audio": null,
  "date": null,
  "description": "Search the world’s information, including webpages, images, videos and more. Google has many special features to help you find exactly what you’re looking for.",
  "video": null,
  "logo": "https://logo.clearbit.com/www.google.com",
  "url": "https://www.google.com/"
}
License
Released undet the MIT license.