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 268207c commit 121f410
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).at('.display-date')[0].inner_text)
on_notice_to = Date.parse(r.search("//span[@class='.display-date']".text)

record = {
council_reference: council_reference,
Expand Down

0 comments on commit 121f410

Please sign in to comment.