Permalink
Browse files

remove areas as it's purely party lists

  • Loading branch information...
struan committed Sep 9, 2015
1 parent 63b7e11 commit c6f02f2256eead82d25df88d3b685f72dc0400b8
Showing with 1 addition and 2 deletions.
  1. +1 −2 scraper.rb
View
@@ -49,12 +49,11 @@ def scrape_list(url)
data = {
name: name,
faction: faction,
area: tds[3].css('span').text,
gender: tds[5].css('span').text.downcase,
img: 'http://www.houseofrepresentatives.nl' + img,
source: url
}
ScraperWiki.save_sqlite([:name, :faction, :area], data)
ScraperWiki.save_sqlite([:name, :faction], data)
end
end

0 comments on commit c6f02f2

Please sign in to comment.