# Spider_JingdongTry
**Repository Path**: Jonariguez/Spider_JingdongTry
## Basic Information
- **Project Name**: Spider_JingdongTry
- **Description**: No description available
- **Primary Language**: Python
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2018-10-28
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Spider_JingdongTry
主要是用selenium模拟浏览器来申请京东试用。
需要的库都在头部import出来了,还需要Chrome浏览器的驱动。
## 依赖
* Python 3.6
* ChromeDriver
* selenium 3.14.1
* pyquery 1.4
## 使用说明
1. 直接点击py文件即可执行
2. 程序开始运行时会打开Chrome浏览器并打开[京东官网](https://www.jd.com)
3. 在该浏览器登录账号即可, 40秒后浏览器会关闭,此时便开始申请商品。
## 特点
1. 无头模式,即申请过程中就不用浏览器界面了,无限接近**无扰模式**
## 参考资料
* Python3网络爬虫开发实战
https://germey.gitbooks.io/python3webspider/content/
* xmlns属性导致pyquery查询元素失败
https://blog.csdn.net/zx1245773445/article/details/82821642
## 待实现功能
- [x] 无头模式
- [ ] 设置项和程序分离
- [ ] 申请结束自动关机
- [ ] 加入用户界面