]> gitweb.michael.orlitzky.com - dead/whatever-dl.git/blobdiff - src/websites/vimeo.rb
Added the net/http requirement to the Website class (which now needs it).
[dead/whatever-dl.git] / src / websites / vimeo.rb
index 56243fad3ecd5d0616db0d5fdd5aa605bf01d2b2..72ed31301495386faa2606103a85e9752a4f36b8 100644 (file)
 
 require 'src/website'
 
-# Needed to download the video XML file, which is in turn
-# needed because it contains the junk we need to construct
-# the video URL.
-require 'net/http'
-require 'uri'
-
 
 class Vimeo < Website
 
@@ -119,14 +113,4 @@ class Vimeo < Website
   end
 
   
-  def get_page_data(url)
-    uri = URI.parse(url)
-    
-    response = Net::HTTP.start(uri.host, uri.port) do |http|
-      http.get(uri.path)
-    end
-    
-    return response.body
-  end
-  
 end