]> gitweb.michael.orlitzky.com - dead/whatever-dl.git/blobdiff - src/websites/yikers.rb
Removed the redundant get_page_data method from the Yikers class.
[dead/whatever-dl.git] / src / websites / yikers.rb
index c1153ee61cdf44d95cabf7ce518aa8eca5899229..bb90e3b8730d8a2177594ce3f9a30aba8cd9ade3 100644 (file)
 
 require 'src/website'
 
-# Needed to download the page, which is in turn
-# needed because it contains the video URL.
-require 'net/http'
-
 
 class Yikers < Website
 
@@ -84,19 +80,5 @@ class Yikers < Website
     
     return xml_path
   end
-  
-  
-  def get_page_data(url)
-    uri = URI.parse(url)
-
-    response = Net::HTTP.start(uri.host, uri.port) do |http|
-      http_path = uri.path
-      http_path += ('?' + uri.query) if not uri.query.nil?
-      http.get(http_path)
-    end
     
-    return response.body
-  end
-
-  
 end