iron_ebooks
iron_ebooks copied to clipboard
A iron.io worker script for making a _ebooks version of your twitter account
When I run the ebook on @piscosour, I get: http://pastebin.com/atBRUjR5 ``` /task/__gems__/gems/punkt-segmenter-0.9.1/lib/punkt-segmenter/punkt/sentence_tokenizer.rb:81:in `split_in_sentences': undefined method `size' for nil:NilClass (NoMethodError) from /task/__gems__/gems/punkt-segmenter-0.9.1/lib/punkt-segmenter/punkt/sentence_tokenizer.rb:21:in `sentences_from_text' from /task/ebook.rb:85:in `block in ' from /task/ebook.rb:84:in `each'...
Payload
What do I set the payload as when I schedule the task?
We have regular expressions for making sure the bot isn't just reusing tweet sentences, but it's foiled by the concatenation of two sentences when the tweet is short.