Skip to content

Commit

Permalink
save the data
Browse files Browse the repository at this point in the history
  • Loading branch information
tmtmtmtm committed Sep 10, 2015
1 parent a3dbdbe commit 9d61b01
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scraper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def scrape_person(url)
name__tj: p_tj.first.sub(/^\d+\.\s*/,''),
source: p_tj.last.to_s,
}.merge(scrape_person(p_tj.last))
puts data
ScraperWiki.save_sqlite([:id], data)
puts data[:name]
end

0 comments on commit 9d61b01

Please sign in to comment.