microlink logo

Turn washingtonpost.com into structured data

Microlink SDK

Make your content attractive

Microlink SDK converts washingtonpost.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.washingtonpost.com/gdpr-consent/', {
    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.washingtonpost.com/gdpr-consent/', {
    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.washingtonpost.com/gdpr-consent/', {
    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.washingtonpost.com/gdpr-consent/', {
    video: true,
    audio:true,
    palette: true,
    iframe: true,
    ...props
  })
}

Using Microlink CLI (docs)

$ microlink-api https://www.washingtonpost.com/gdpr-consent/
{
  "title": "- The Washington Post",
  "description": "Please enable cookies on your web browser in order to continue.",
  "lang": "en",
  "author": null,
  "publisher": "The Washington Post",
  "image": {
    "url": "https://cdn.microlink.io/data/assets/washingtonpost.com!gdpr-consent/washingtonpost.com!pbox.php!filter=antialias&op=resize&opt=1&t=20170517.jpg&url=https!www.washington",
    "type": "jpg",
    "size": 35093,
    "height": 779,
    "width": 1484,
    "size_pretty": "35.1 kB",
    "palette": [
      "#AD9651",
      "#D4C8A4",
      "#3C341C",
      "#7C7C74",
      "#BCBCBA",
      "#463F34"
    ],
    "background_color": "#D4C8A4",
    "color": "#5F532D",
    "alternative_color": "#3C341C"
  },
  "audio": null,
  "url": "https://www.washingtonpost.com/gdpr-consent/",
  "iframe": null,
  "date": "2020-01-11T10:44:31.000Z",
  "logo": {
    "url": "https://cdn.microlink.io/data/assets/washingtonpost.com!gdpr-consent/washingtonpost.com!pb!resources!img!thewashingtonpost-black-400x60.png.png",
    "type": "png",
    "size": 6332,
    "height": 60,
    "width": 400,
    "size_pretty": "6.33 kB",
    "palette": [
      "#7F7F7F",
      "#BCBCBC",
      "#424242",
      "#4C4C4C",
      "#4C4C4C",
      "#040404"
    ],
    "background_color": "#BCBCBC",
    "color": "#040404",
    "alternative_color": "#424242"
  },
  "video": null,
  "screenshot": {
    "url": "https://cdn.microlink.io/screenshot/thewashingtonpost.png"
  }
}