Sha256: 44cfe3e2cbc41346b59a01a08c8387be582c5435597a6782dfc91637a9aca5a8
Contents?: true
Size: 327 Bytes
Versions: 16
Compression:
Stored size: 327 Bytes
Contents
class FilmSnob class Hulu < VideoSite def self.valid_url_patterns [ %r{https?://(?:(?:www).)?hulu.com/watch/(\d+)} ] end def self.oembed_endpoint 'http://www.hulu.com/api/oembed.json' end def clean_url @clean_url ||= "http://www.hulu.com/watch/#{id}" end end end
Version data entries
16 entries across 16 versions & 1 rubygems