Send a fortune cookie message to your friend! Inspired by @tuannyharumi (and "Salmo do Dia").
I started this project as a joke, but it turned out that it has potential and I will use it on examples in my (future) dev blog.
- Requests 2.2.1
If you like, you can install all requirements withsudo pip install -r requirements.txt
Setup your e-mail, your password and friend e-mail in main.py and run:
python main.py
- Create a class in
parsers/extending fromBaseCookieParser - Add host name (e.g.
fortunecookiemessagefrom "www.fortunecookiemessage.com") toparsers_mapinparsers/factory.py - Add module name to
__all__inparsers/__init__.py - Add test case in
tests/test_parsers.py
- Create an dict entry in
servers_mapinmail/factory.pycontaininghost,portandtls - Add test case in
tests/test_mail.py
