module HttpCrawler::Decryption::Node

Public Class Methods

decryption(path) click to toggle source
# File lib/http_crawler/decryption/node.rb, line 12
def decryption(path)
  path = path + ".js" unless path =~ /\.js$/
  # p path
  http_crawler = HttpCrawler::Client.new(url: "http://127.0.0.1:9080/");
  r = http_crawler.get(path);
  r.dec
end