X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2Fwebsites%2Fefukt.rb;h=27d20992927dc57cba00b3846611a677e7dedab5;hb=5ec7f2000e59a8d035f47813e85db6c2aea0675d;hp=f4cc58d663b236af75cf8072c0025dbb58259714;hpb=5359bc2a58320794c5d6d91acb39eac4f371c9c2;p=dead%2Fwhatever-dl.git diff --git a/src/websites/efukt.rb b/src/websites/efukt.rb index f4cc58d..27d2099 100644 --- a/src/websites/efukt.rb +++ b/src/websites/efukt.rb @@ -43,7 +43,7 @@ class Efukt < Website # Most of the URLs will just be the video's id, # followed by an underscore and the video title (with - # all spaces replaced by underscores. Sounds look a good + # all spaces replaced by underscores. Sounds like a good # filename to me. filename_regex = /\/([[:alnum:]_]+)\.html/ matches = filename_regex.match(@url) @@ -71,15 +71,4 @@ class Efukt < 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