From: Michael Orlitzky Date: Sun, 27 Sep 2009 00:25:48 +0000 (-0400) Subject: Removed the redundant get_page_data method from the Yikers class. X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fwhatever-dl.git;a=commitdiff_plain;h=85a93745e73d0dda38b450074b54475f74671577 Removed the redundant get_page_data method from the Yikers class. --- diff --git a/src/websites/yikers.rb b/src/websites/yikers.rb index 4b13a02..bb90e3b 100644 --- a/src/websites/yikers.rb +++ b/src/websites/yikers.rb @@ -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