From 0a6736b9eea72805526f3380f74a9cce0d6386b2 Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Mon, 17 Sep 2018 17:07:05 +0100 Subject: [PATCH] Remove unnecessary var --- lib/uk_planning_scraper/northgate.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/uk_planning_scraper/northgate.rb b/lib/uk_planning_scraper/northgate.rb index 5908996..ca3d1db 100644 --- a/lib/uk_planning_scraper/northgate.rb +++ b/lib/uk_planning_scraper/northgate.rb @@ -60,7 +60,6 @@ module UKPlanningScraper doc = Nokogiri::HTML(response.to_s) asp_vars = { '__VIEWSTATE' => doc.at('#__VIEWSTATE')['value'], - '__VIEWSTATEGENERATOR' => doc.at('#__VIEWSTATEGENERATOR')['value'], '__EVENTVALIDATION' => doc.at('#__EVENTVALIDATION')['value'] } else @@ -94,7 +93,7 @@ module UKPlanningScraper end rows = doc.search("table.display_table tr") - logger.info "Found #{rows.size - 1} applications in search results." + logger.info "Found #{rows.size - 1} applications in search results." # The first row is the header row # Iterate over search results rows.each do |row|