Hi all, I'm pleased to announce CollecTor support within Stem!
https://stem.torproject.org/api/descriptor/collector.html
This introduces a brand new module that makes gathering Tor's network topology at prior points in time dead easy. For example...
----------------------------------------------------------------------
import datetime import stem.descriptor.collector
yesterday = datetime.datetime.utcnow() - datetime.timedelta(days = 1)
# provide yesterday's exits
for desc in stem.descriptor.collector.get_server_descriptors(start = yesterday): if desc.exit_policy.is_exiting_allowed(): print(' %s (%s)' % (desc.nickname, desc.fingerprint))
----------------------------------------------------------------------
As ever, feedback and overly plump tomatoes welcome!