]> 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 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