python port of @mispy's https://github.com/mispy/twitter_ebooks