Permalink
Browse files

only re-scrape broken rows

  • Loading branch information...
tmtmtmtm committed Sep 12, 2015
1 parent e7e24e8 commit 4e1cc7d44a55093babc13fa6f1070a47a370480d
Showing with 3 additions and 1 deletion.
  1. +3 −1 scraper.rb
View
@@ -112,6 +112,8 @@ def scrape_person(i)
end
end
(1..2650).each do |i|
rows = ScraperWiki.select("DISTINCT(id) from 'data' WHERE party LIKE 'Parliamentary Group%'")
rows.map { |r| r['id'] }.each do |i|
# (1..2650).each do |i|
scrape_person(i)
end

0 comments on commit 4e1cc7d

Please sign in to comment.