X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2Fwebsites%2Fvimeo.rb;h=72ed31301495386faa2606103a85e9752a4f36b8;hb=e756e0b650774f2503702512ccdc02e86eee1788;hp=56243fad3ecd5d0616db0d5fdd5aa605bf01d2b2;hpb=83e06f83d8274cb32a406739839d56e759664b09;p=dead%2Fwhatever-dl.git diff --git a/src/websites/vimeo.rb b/src/websites/vimeo.rb index 56243fa..72ed313 100644 --- a/src/websites/vimeo.rb +++ b/src/websites/vimeo.rb @@ -18,12 +18,6 @@ require 'src/website' -# Needed to download the video XML file, which is in turn -# needed because it contains the junk we need to construct -# the video URL. -require 'net/http' -require 'uri' - class Vimeo < Website @@ -119,14 +113,4 @@ class Vimeo < 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