gottfrois / link_thumbnailer

Ruby gem that fetches images and metadata from a given URL. Much like popular social website with link preview.
MIT License
512 stars 106 forks source link

Add option to use oembed #112

Open camilleroux opened 7 years ago

camilleroux commented 7 years ago

oembed is a format for allowing an embedded representation of a URL on third party sites. It could be a good add to the library!

gottfrois commented 7 years ago

Absolutely! Should be quite easy to add since it comes down to implementing a new set of "scrapers".

BTW you can implement those scrapers on your own project and inject them using the proper gem config: https://github.com/gottfrois/link_thumbnailer/blob/master/lib/link_thumbnailer/scraper.rb#L36