Commit 529a9b8d by mawei

update to do list

parent c04f3c61
......@@ -16,13 +16,24 @@ sudo yum install redis
```
## To do list:
```
1.每次tryLogin刷新验证码
2.login失败重试三次机制
3.waitForNextPage有时会超时,增加wait重试机制
4.捕获密码错误类型
5.创建Spider基类复用代码
6.debug文件加入.gitignore
7.数据库存储
8.分布式进程调度
```
- [x]使用ES7语法重构代码
- [x]根据环境变量读取配置
- [x]集成若快验证码识别
- [x]tryLogin与login
- [x]cookie保存到redis持久化
- [x]抓取三天内线索信息并输出
- [x]每次抓取增加随机间隔
- [x]捕获程序错误及异常
- [ ]汽车之家发起request前先获取接口链接,通过url解析修改参数获取正确接口以保证稳定性
- [ ]每次tryLogin刷新验证码
- [ ]login失败重试三次机制
- [ ]waitForNextPage有时会超时,增加wait重试机制
- [ ]创建Spider基类复用代码(setCookies|getCookies|getHeaderCookies)
- [ ]debug文件加入.gitignore
- [ ]线索入库
- [ ]Cluster分布式进程调度
- [ ]增加日志系统
- [ ]增加随机userAgent
- [ ]使用import|export写法增加模块读取速度
- [ ]增加测试用例和工具
- [ ]补充.gitignore忽略测试文件
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment