Skip to content

Commit

Permalink
Update scraper.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
maxious committed Nov 24, 2018
1 parent afac698 commit b275725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.rb
Expand Up @@ -4,7 +4,7 @@
data_exists = ScraperWiki.select("count(*) FROM sqlite_master WHERE type='table' AND name='data';")[0]["count(*)"]> 0

# doc = Nokogiri::HTML(File.read(input_filename))
doc = Nokogiri::HTML(open("http://www.cmd.act.gov.au/open_government/inform/find-a-public-notice/all-public-notices"))
doc = Nokogiri::HTML(open("https://www.cmtedd.act.gov.au/open_government/inform/find-a-public-notice/all-public-notices"))
doc.xpath('//tbody/tr').each do |row|

data = {}
Expand Down

0 comments on commit b275725

Please sign in to comment.