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.
fortunecookiemessage
from "www.fortunecookiemessage.com") toparsers_map
inparsers/factory.py
- Add module name to
__all__
inparsers/__init__.py
- Add test case in
tests/test_parsers.py
- Create an dict entry in
servers_map
inmail/factory.py
containinghost
,port
andtls
- Add test case in
tests/test_mail.py