This file contains hidden or 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
| #空气质量数据获取 | |
| ##数据源 | |
| > 以下是三个使用方便,不需要爬虫的数据源 | |
| ### 1. aqicn.org | |
| 数据源:各地区环境监测中心,美国等使馆监测数据,自愿者使用指定设备上传的数据 | |
| 访问限制:无 | |
| 开放:非,网友自己找到,可能是他们自身APP使用的web api | |
| 费用:无 |
This file contains hidden or 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
| import javax.mail.* | |
| import javax.mail.internet.* | |
| /** | |
| * Send mail via SSL/TLS enabled SMTP server. | |
| * @param addresser Could be different with sender email. | |
| * @param password Password of sender email. | |
| * @param subject Subject of mail. | |
| * @param to Addressee. | |
| * @param cc Carbon copy. |
This file contains hidden or 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
| import javax.mail.* | |
| import javax.mail.internet.* | |
| /** | |
| * 发送邮件 | |
| * @param addresser 发件人,与发件使用的账号可以不同 | |
| * @param password 发件账户账号密码 | |
| * @param subject 邮件主题 | |
| * @param to 收件人 | |
| * @param cc 抄送 |
This file contains hidden or 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
| 11500652 |