Count the top 10 of weibo, and send it to your mailbox. You can also create a cron job for this program.
Python: 2.7.*
System: Windows/Linux/Mac
- Setup python
- Update the email settings in
MailUtil.initfunction(including SMTP server's addr:self.mail_host, email:self.mail_user、password of sender:self.mail_pass, email of receiver:self.to) - Run the
hot_weibo.py.
统计新浪微博热点榜单前10名的话题,以文本形式发送到你的邮箱。可以设置成定时任务。
Python: 2.7.*
System: Windows/Linux/Mac
- 配置Python环境
- 在
MailUtil.init函数中配置邮箱信息(包括SMTP服务器:self.mail_host,发件人邮箱:self.mail_user、密码:self.mail_pass,收件人邮箱列表:self.to) - 执行
hot_weibo.py文件。