Permalink
Browse files

Increase timeout limit on url

  • Loading branch information...
jennahowe committed Sep 14, 2015
1 parent fa63518 commit 15edd0b6114a69d6508f64952f4987263fd14071
Showing with 1 addition and 1 deletion.
  1. +1 −1 scraper.rb
View
@@ -26,7 +26,7 @@ def noko_for(url)
require 'pry'
la_url = 'http://localhost:8000/pleno_legislativo.html'
else
la_url = open('http://asamblea.gob.sv/pleno/pleno-legislativo', read_timeout: 60)
la_url = open('http://asamblea.gob.sv/pleno/pleno-legislativo', read_timeout: 500)
end
noko = noko_for(la_url)

0 comments on commit 15edd0b

Please sign in to comment.