lib/onebox/engine/html.rb in onebox-1.0.1 vs lib/onebox/engine/html.rb in onebox-1.1.0
- old
+ new
@@ -2,10 +2,10 @@
module Engine
module HTML
private
def raw
- @raw ||= Nokogiri::HTML(open(@url))
+ @raw ||= Nokogiri::HTML(open(url, read_timeout: timeout))
end
end
end
end