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 Jan 26, 2017
1 parent 451b6b0 commit 051785b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scraper.rb
Expand Up @@ -47,4 +47,6 @@ def scrape_mp(url)
end

@BASE = 'http://www.alderney.gov.gg'

ScraperWiki.sqliteexecute('DELETE FROM data') rescue nil
scrape_list('http://www.alderney.gov.gg/article/4077/States-Members')

0 comments on commit 051785b

Please sign in to comment.