Confews is a Twitter bot that scrapes and then conflates daily news headlines for amusement.
Run (in this directory):
npm install
This ensures the all the node packages are installed. Follow the NPM guide to install new packages.
TBC
- Scrape three headlines
- Perform any source specific sanitisation
- Add all headlines to an array
- Perform any general sanitisation
- Truncate at comma or full stop if available
- Truncate at three words as alternative to step 5
- Determine which headlines end with a conjunction and move them to start of array
- Determine which headlines end with a handle verb and move them to start of array
- Ensure last headline in array doesn't end with a conjuntion or handle verb
- Capitalise first letter