Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/melizeche/comentabot
Twitter bot made using Markov Chains and powered through nonsensical garbage from the comments section of a local newspaper
https://github.com/melizeche/comentabot
Last synced: 3 months ago
JSON representation
Twitter bot made using Markov Chains and powered through nonsensical garbage from the comments section of a local newspaper
- Host: GitHub
- URL: https://github.com/melizeche/comentabot
- Owner: melizeche
- License: other
- Created: 2016-01-30T18:37:29.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-06-18T23:49:46.000Z (7 months ago)
- Last Synced: 2024-10-15T00:55:00.415Z (3 months ago)
- Language: Python
- Homepage: https://twitter.com/ComentaristaABC
- Size: 3.43 MB
- Stars: 21
- Watchers: 9
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# comentaBOT
Twitter bot made using Markov chains and powered through nonsensical garbage from the comments section of a local newspaper
https://twitter.com/ComentaristaABC## TODO
- Documentation(scraper, libs and bot)
- Improve the Markov chain algorithm
- Release the dataset(53K of beautiful garbage)## Requirements
- Python 3
- requests==2.9.1
- tweepy==3.5.0
- APScheduler==3.0.5## Instructions
```
- git clone
- virtualenv -p python3 env
- source env/bin/activate
- pip install -r requirements.txt
- create config.py (or fill the missing fields in config.py.example and rename it)
- "comentarios.txt" is the default source for the markov chains but you can use any textfile
- python lib_comment.py makedatabase
- python comment_bot.py
```