Minotaur

Extract images, videos, and iframes from html strings.

William Blake's image of the Minotaur to illustrate Inferno
XII

Usage

html = # download or build an html string
Minotaur::Document.new(html).preview_elements
# => ['<img>', '<video></video>', '<iframe></iframe>']