X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fwhatever-dl.git;a=blobdiff_plain;f=src%2Fwebsites%2Fyikers.rb;h=bb90e3b8730d8a2177594ce3f9a30aba8cd9ade3;hp=b602f3a7d5a64b8bb3a7454810a16654ea301bcc;hb=85a93745e73d0dda38b450074b54475f74671577;hpb=1d43361a1d8c6fc3938a2438baa8d8348129b4fd diff --git a/src/websites/yikers.rb b/src/websites/yikers.rb index b602f3a..bb90e3b 100644 --- a/src/websites/yikers.rb +++ b/src/websites/yikers.rb @@ -18,10 +18,6 @@ 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,18 +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