X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fwhatever-dl.git;a=blobdiff_plain;f=src%2Fwebsites%2Fyikers.rb;h=bb90e3b8730d8a2177594ce3f9a30aba8cd9ade3;hp=c1153ee61cdf44d95cabf7ce518aa8eca5899229;hb=85a93745e73d0dda38b450074b54475f74671577;hpb=4427ec884bf38dd94256a59260613e1dff3e984a diff --git a/src/websites/yikers.rb b/src/websites/yikers.rb index c1153ee..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,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