Sha256: 04f16e476425b684414dd2d9ffb80891db09913cfeedb1d6d01a37812991a32a
Contents?: true
Size: 839 Bytes
Versions: 2
Compression:
Stored size: 839 Bytes
Contents
require "uri" require "cgi" require "open-uri" require "xml" require "yaml" require "constants" require "thumbnailer/base" require "thumbnailer/sites/youtube" require "thumbnailer/sites/flickr" require "thumbnailer/sites/video_google" require "thumbnailer/sites/twitpic" require "thumbnailer/sites/dailymotion" require "thumbnailer/sites/vimeo" require "thumbnailer/sites/websnapr" SITES = {"youtube\..*?\/watch" => Thumbnailer::YouTube, "flickr" => Thumbnailer::Flickr, "video\.google\..*?\/videoplay" => Thumbnailer::VideoGoogle, "twitpic\.com\/.*?(?!\..*?)" => Thumbnailer::TwitPic, "dailymotion\.com\/video" => Thumbnailer::Dailymotion, "vimeo\.com\/" => Thumbnailer::Vimeo, ".*?" => Thumbnailer::WebSnapr } require "thumbnailer/parser" require "thumbnailer/fetcher"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thumbnailer-ruby-0.1.1 | lib/thumbnailer.rb |
thumbnailer-ruby-0.1.0 | lib/thumbnailer.rb |