Last active
November 23, 2016 17:30
-
-
Save nilsjesper/4e383f5a95d05ba7dd2d617b156f2d3a to your computer and use it in GitHub Desktop.
Takes a random Trump statement from his NY Times round-table and has your computer speak it. To chilling effect.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s -b -N --location http://www.nytimes.com/2016/11/23/us/politics/trump-new-york-times-interview-transcript.html \ | |
| perl -0ne 'my @list = $_ =~ m/>TRUMP:(.*?)<\/p>/smg; print $list[rand @list]' \ | |
| say -i -r 300 -v Alex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment