lib/http_crawler/client.rb in http_crawler-0.2.0 vs lib/http_crawler/client.rb in http_crawler-0.2.1

- old
+ new

@@ -31,10 +31,10 @@ # init_uri 如果未初始化@uri,则会报错 # 继承类需要重定义 init_uri # def initialize raise "Client uri为空" unless init_uri - @http = Crawler::HTTP.new(uri.host, uri.port) + @http = HttpCrawler::HTTP.new(uri.host, uri.port) @http.use_ssl = (uri.scheme == "https") @http.open_timeout = 5 @http.read_timeout = 5 \ No newline at end of file