Module: HttpCrawler::Decryption::Node

Defined in:
lib/http_crawler/decryption/node.rb

Class Method Summary collapse

Class Method Details

.decryption(path) ⇒ Object



12
13
14
15
16
17
18
# 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