microlink logo

Turn buzzfeednews.com into structured data

Microlink SDK

Make your content attractive

Microlink SDK converts buzzfeednews.com links into beautiful previews, engaging better your links.

large

const mql = require('@microlink/mql')

module.exports = props => {

  const { status, data } = await mql('https://www.buzzfeednews.com/article/ryanmac/cambridge-analytica-chris-wylie-eunoia-trump-campaign', {
    video: true,
    audio:true,
    palette: true,
    iframe: true,
    ...props
  })
}

normal

const mql = require('@microlink/mql')

module.exports = props => {

  const { status, data } = await mql('https://www.buzzfeednews.com/article/ryanmac/cambridge-analytica-chris-wylie-eunoia-trump-campaign', {
    video: true,
    audio:true,
    palette: true,
    iframe: true,
    ...props
  })
}

small

const mql = require('@microlink/mql')

module.exports = props => {

  const { status, data } = await mql('https://www.buzzfeednews.com/article/ryanmac/cambridge-analytica-chris-wylie-eunoia-trump-campaign', {
    video: true,
    audio:true,
    palette: true,
    iframe: true,
    ...props
  })
}

Features

Capabilities under the hood.

  • Background Refresh
    Stale revalidation, keeping things fresh and always up to date via ttl, reflecting any change on the target URL.
  • Unified Metadata
    Normalized from Open Graph, JSON+LD or HTML markup, such as author, images, colors, dates, lang, etc.
  • Caching Level
    Using Microlink CDN to deliver a different resource each time the query string changes.
  • Color Detection
    Get predominant and complementary colors per every image detected.
  • Contextual Data
    Get more from any data, expanding it to get extra useful information.
  • Media Detection
    Get the original source of any image, video or audio.
  • Native Embeds
    Using oEmbed to get the embedded representation of any URL.
  • Prerender Ready
    Cloud based solution with superior operational performance.
  • Cloud Browsing
    Fast, scalable, and reliable browser automation.
  • Background Refresh
    Stale revalidation, keeping things fresh and always up to date via ttl, reflecting any change on the target URL.
  • Unified Metadata
    Normalized from Open Graph, JSON+LD or HTML markup, such as author, images, colors, dates, lang, etc.
  • Caching Level
    Using Microlink CDN to deliver a different resource each time the query string changes.
  • Color Detection
    Get predominant and complementary colors per every image detected.
  • Contextual Data
    Get more from any data, expanding it to get extra useful information.
  • Media Detection
    Get the original source of any image, video or audio.
  • Native Embeds
    Using oEmbed to get the embedded representation of any URL.
  • Prerender Ready
    Cloud based solution with superior operational performance.
  • Cloud Browsing
    Fast, scalable, and reliable browser automation.

Microlink API

Build APIs from websites

Microlink Query Language (MQL) is a programmatic way to getting content from any URL.

Using MQL (docs)

const mql = require('@microlink/mql')

module.exports = props => {

  const { status, data } = await mql('https://www.buzzfeednews.com/article/ryanmac/cambridge-analytica-chris-wylie-eunoia-trump-campaign', {
    video: true,
    audio:true,
    palette: true,
    iframe: true,
    ...props
  })
}

Using Microlink CLI (docs)

$ microlink-api https://www.buzzfeednews.com/article/ryanmac/cambridge-analytica-chris-wylie-eunoia-trump-campaign
{
  "title": "The Cambridge Analytica Whistleblower Wanted His New Company To Work With Trump Campaign’s Manager",
  "description": "Tolga Akmen / AFP / Getty Images",
  "lang": "en",
  "author": "Ryan Mac",
  "publisher": "BuzzFeed News",
  "image": {
    "url": "https://cdn.microlink.io/data/assets/buzzfeednews.com!article!ryanmac!cambridge-analytica-chris-wylie-eunoia-trump-campaign/img.buzzfeed.com!buzzfeed-static!static!2018-03!28!18!campaign_images!buzzfeed-prod-web-07!the-cambr",
    "type": "jpg",
    "size": 183776,
    "height": 415,
    "width": 625,
    "size_pretty": "184 kB",
    "palette": [
      "#DFA87F",
      "#E4B694",
      "#6A2318",
      "#896256",
      "#A49484",
      "#4E3931"
    ],
    "background_color": "#DFA87F",
    "color": "#6A2318",
    "alternative_color": "#633919"
  },
  "audio": null,
  "url": "https://www.buzzfeednews.com/article/ryanmac/cambridge-analytica-chris-wylie-eunoia-trump-campaign",
  "iframe": null,
  "date": "2020-01-11T10:42:14.000Z",
  "logo": {
    "url": "https://cdn.microlink.io/data/assets/buzzfeednews.com!article!ryanmac!cambridge-analytica-chris-wylie-eunoia-trump-campaign/logo.clearbit.com!buzzfeednews.com.png",
    "type": "png",
    "size": 4997,
    "height": 128,
    "width": 128,
    "size_pretty": "5 kB",
    "palette": [
      "#C42C24",
      "#EA938E",
      "#3C0C0C",
      "#7C7C7C",
      "#C2C2C2",
      "#505050"
    ],
    "background_color": "#C42C24",
    "color": "#FEFBFB",
    "alternative_color": "#0B0202"
  },
  "video": null,
  "screenshot": {
    "url": "https://cdn.microlink.io/screenshot/buzzfeed.png"
  }
}