adrianshort / uk_planning_scraper

A Ruby gem to get planning applications data from UK council websites.
GNU Lesser General Public License v3.0
27 stars 19 forks source link

lib/mechanize/form.rb:266:in `method_missing: undefined method searchCriteria.caseStatus` #43

Open turtle0x1 opened 2 years ago

turtle0x1 commented 2 years ago

Commenting out; https://github.com/adrianshort/uk_planning_scraper/blob/bcd86c9fcd34661e1ec2acd70d4e19f05d505104/lib/uk_planning_scraper/idox.rb#L45

Fixed it

adrianshort commented 2 years ago

Which authority is having a problem with this? Could you post a short script so that I can reproduce the error? Thanks.

mazshar commented 2 years ago

I'm getting a similar error when scraping certain authorities. For example, tagged('idox') fails at Aylesbury Vale with:

defined method searchCriteria.description' for #<Mechanize::Form (NoMethodError) {name "searchCriteriaForm"}