My little spider/scraper thing happily iterated through a couple dozen tail numbers and then said: /usr/local/lib/ruby/1.8/uri/common.rb:432:in `split': bad URI(is not URI?): http://registry.faa.gov/aircraftinquiry/nnumsql.as... (URI::InvalidURIError) from /usr/local/lib/ruby/1.8/uri/common.rb:481:in `parse' from /usr/local/lib/ruby/1.8/open-uri.rb:85:in `open' from tails.rb:47:in `faa' Can anyone see how that's no a bad URI? (Darn, it was just getting to the fun stuff.) Thanks, --Colin
on 2007-06-25 09:59
on 2007-06-25 10:01
Oops, nevermind, I did a .strip before the call and now it is happy. No idea how a space would have snuck on there. Damn FAA webmasters...