Browse Source
Merge pull request #49 from wchen9/linux-env
add linux environment usage example
main
ztino
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
16 additions and
0 deletions
-
README.md
|
|
@ -118,6 +118,22 @@ jd_seckill version |
|
|
|
(8)通知配置 |
|
|
|
> 目前支持email,wechat,dingtalk,具体可查看配置文件 |
|
|
|
|
|
|
|
## Linux 无图形界面获取 eid 与 fp 方法参考 |
|
|
|
(1) 安装无头 chrome |
|
|
|
```shell |
|
|
|
sudo apt install ./google-chrome-stable_current_amd64.deb |
|
|
|
sudo apt-get -y install xorg xvfb gtk2-engines-pixbuf |
|
|
|
sudo apt-get -y install dbus-x11 xfonts-base xfonts-100dpi xfonts-75dpi xfonts-cyrillic xfonts-scalable |
|
|
|
sudo apt-get install -y xvfb |
|
|
|
|
|
|
|
Xvfb -ac :99 -screen 0 1280x1024x16 & export DISPLAY=:99 |
|
|
|
``` |
|
|
|
(2) 执行获取 eid 与 fp |
|
|
|
```shell |
|
|
|
#参数--good_url商品链接必须设置,链接地址是一个可以加入购物车的商品 |
|
|
|
jd_seckill jdTdudfp --good_url https://item.jd.com/100007959916.html |
|
|
|
``` |
|
|
|
|
|
|
|
## 感谢 |
|
|
|
##### 非常感谢原作者 https://github.com/zhou-xiaojun/jd_mask 提供的代码 |
|
|
|
##### 也非常感谢 https://github.com/wlwwu/jd_maotai 进行的优化 |
|
|
|