Skip to content

Commit

Permalink
Updated the search string.
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelBone committed Apr 24, 2019
1 parent e32840c commit 4a692b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.rb
Expand Up @@ -23,7 +23,7 @@
end

on_notice_from = ''
on_notice_to = Date.parse(r.search(':span.display-date')[0].inner_text)
on_notice_to = Date.parse(r.search(':span').at('.display-date').inner_text)

record = {
council_reference: council_reference,
Expand Down

0 comments on commit 4a692b8

Please sign in to comment.