Sha256: 88ae2dc269d540997a0a662b19821cb8da6e60f906ea71910631fab8d419760e

Contents?: true

Size: 230 Bytes

Versions: 3

Compression:

Stored size: 230 Bytes

Contents

class FilmSnob
  class Hulu < VideoSite

    def self.valid_url_patterns
      [
        %r{https?://(?:(?:www).)?hulu.com/watch/(\d+)}
      ]
    end

    def clean_url
      "http://www.hulu.com/watch/#{id}"
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
film_snob-0.1.2 lib/film_snob/hulu.rb
film_snob-0.1.1 lib/film_snob/hulu.rb
film_snob-0.1.0 lib/film_snob/hulu.rb