X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2Fwebsites%2Fveoh.rb;h=5830e8f5c40d7b430a9139d18aea73c69f4438e1;hb=e756e0b650774f2503702512ccdc02e86eee1788;hp=c961d688e213b9500db2ab20726e966b2d896894;hpb=83e06f83d8274cb32a406739839d56e759664b09;p=dead%2Fwhatever-dl.git diff --git a/src/websites/veoh.rb b/src/websites/veoh.rb index c961d68..5830e8f 100644 --- a/src/websites/veoh.rb +++ b/src/websites/veoh.rb @@ -18,11 +18,6 @@ require 'src/website' -# Needed to download the page, which is in turn -# needed because it contains the video (redirect) URL. -require 'net/http' -require 'uri' - class Veoh < Website @@ -77,14 +72,4 @@ class Veoh < Website end - 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