]> gitweb.michael.orlitzky.com - dead/whatever-dl.git/blobdiff - src/websites/infoq.rb
Factored out the Youtube implementation of get_page_data into the Website superclass.
[dead/whatever-dl.git] / src / websites / infoq.rb
index dca55fa5527dbd2dd5ffbbd932c409c89a2e2e84..1829c8c2c5fd846682adb63b9e3b9b9e6b132585 100644 (file)
@@ -55,15 +55,4 @@ class Infoq < Website
   end
 
 
-  # Just make a normal HTTP "get" request.
-  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