Minotaur
Extract images, videos, and iframes from html strings.
Usage
html = # download or build an html string
Minotaur::Document.new(html).preview_elements
# => ['<img>', '<video></video>', '<iframe></iframe>']
Extract images, videos, and iframes from html strings.
html = # download or build an html string
Minotaur::Document.new(html).preview_elements
# => ['<img>', '<video></video>', '<iframe></iframe>']