fix: nil error

2.0.0-p247/lib/ruby/2.0.0/cgi/util.rb:7:in `escape': undefined method `encoding' for nil:NilClass (NoMethodError)
        from extract_history.rb:179:in `block in joined_query_params'
        from extract_history.rb:179:in `collect'
        from extract_history.rb:179:in `joined_query_params'
        from extract_history.rb:167:in `url'
        from extract_history.rb:161:in `call'
        from extract_history.rb:149:in `call'
        from extract_history.rb:49:in `get_html'
        from extract_history.rb:45:in `history_for_inspection'
        from extract_history.rb:28:in `block in call'
        from extract_history.rb:25:in `each_line'
        from extract_history.rb:25:in `each'
        from extract_history.rb:25:in `each_with_index'
        from extract_history.rb:25:in `call'
        from extract_history.rb:12:in `call'
        from extract_history.rb:223:in `<main>'
updated data