Handle missing last_restarted field in Onionoo's details documents
Some of Onionoo's details documents don't contain the
"last_restarted" field that is, in theory, a required field. That's a specification error which is fixed as of 5 minutes ago. The field cannot be contained if a router descriptor cannot be found. Oops.
Atlas needs to handle details documents without the
"last_restarted" field correctly. Searching for these relays will fail right now. Details documents without that field have
"as_name" in their last line and can be found like this:
$ curl http://onionoo.torproject.org/details/relays > relays $ grep -E "fingerprint|as_name" relays | grep -v "as_name.*,$" | grep -B1 "as_name"