This file contains 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
"""This module sends a stack overflow job alert email. | |
It can be scheduled with python sched library, cron, PaaS providers such as | |
pythonanywhere or heroku, or anything with similar functionality | |
""" | |
import smtplib | |
from datetime import date, datetime, timedelta | |
from email.mime.multipart import MIMEMultipart | |
from email.mime.text import MIMEText | |
import feedparser |