Skip to content

Commit

Permalink
Clean out database on each run
Browse files Browse the repository at this point in the history
  • Loading branch information
tmtmtmtm committed Feb 5, 2017
1 parent f9aef8f commit 3240780
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scraper.rb
Expand Up @@ -40,4 +40,5 @@ def scrape_list(url)
end
end

ScraperWiki.sqliteexecute('DELETE FROM data') rescue nil
scrape_list('http://www.congres.nc/assemblee/les-elus/?panel=5')

0 comments on commit 3240780

Please sign in to comment.