基于 Python 的基金涨跌提醒程序
MIT License
python 3
requests
yagmail
SMTP
zip
git
git clone [email protected]:Micro-sheep/Fund-Notice.git
pip install -r requirements.txt --upgrade
cd single
{
"usr": "[email protected]",
"pwd": "uwymszlkcjphdgeg",
"receiver": "[email protected]",
"codes": {
"161725": [-2, 2],
"002190": [-2, 2],
"003834": [-2, 2],
"160225": [-2, 2],
"001632": [-2, 2]
},
"wait": 300
}
| | |
| -------- | ------------------------------------------------------------ |
| usr | |
| pwd | SMTP |
| receiver | |
| codes | 161725 [-2,2] 2 -2 |
| wait | 300 |
**single** **notice.py**
cd multi
{
"usr": "[email protected]",
"pwd": "uwymszlkcjphdgeg",
"receivers": [{
"email": "[email protected]",
"codes": {
"161725": [-2,
2
]
}
},
{
"email": "[email protected]",
"codes": {
"160225": [-2,
2
],
"001632": [-2,
2
]
}
}
],
"wait": 300
}
usr | |
pwd | SMTP |
receivers | |
wait | 300 |
**multi** **notice.py**
9:30
QQ2572699140