]> gitweb.michael.orlitzky.com - dead/whatever-dl.git/commitdiff
Removed the redundant get_page_data method from the Yikers class.
authorMichael Orlitzky <michael@orlitzky.com>
Sun, 27 Sep 2009 00:25:48 +0000 (20:25 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 2 Oct 2009 02:49:10 +0000 (22:49 -0400)
src/websites/yikers.rb

index 4b13a023371d6ce94bd92c7fd1d7ed25ff4bc4ea..bb90e3b8730d8a2177594ce3f9a30aba8cd9ade3 100644 (file)
@@ -80,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