Skip to content

Commit

Permalink
Update scraper.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
iecaff committed May 18, 2015
1 parent fb70be1 commit fcff112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.rb
Expand Up @@ -31,7 +31,7 @@
front_page = mechanize.get('http://www.dlrcoco.ie/aboutus/councilbusiness/listofcouncillors/')
con_table = front_page.search("table[summary='List od Dun Laoghaire Rathdown Councillors in Alphabetical order']/tr")

con_text.each_with_index do |con_string,i|
con_table.each_with_index do |con_string,i|
con_items = con_string.search('//text()')
puts con_items
end
Expand Down

0 comments on commit fcff112

Please sign in to comment.