jd-login/README.md
2025-06-16 10:22:40 +08:00

54 lines
1.7 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# jd-login
无界插件对应京东登录本人已入rabbit车不会再及时更新需要的可以自行更改
包括账密登录和密码登录
可以直接纯净docker部署 使用compose代码如下可自行加前缀代理
```
version: "3"
services:
jd_autologin:
image: python:3.12.4
container_name: jd_autologin
restart: unless-stopped
ports:
- 12345:12345
working_dir: /app
environment:
TZ: Asia/Shanghai
command: >
sh -c "apt -y update && apt -y install libnss3 libnspr4 libatk1.0-0
libatk-bridge2.0-0 libcups2 libdrm2 libdbus-1-3 libxkbcommon0
libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 libasound2
libatspi2.0-0 libxshmfence1 && python -m pip install --upgrade pip && pip
install pyppeteer Pillow asyncio aiohttp opencv-python-headless ddddocr
quart requests fake_useragent && rm -rf * && wget -O api.py
https://raw.githubusercontent.com/zhao-zg/jd-login/main/api.py
&& wget -O login.py
https://raw.githubusercontent.com/zhao-zg/jd-login/main/login.py
&& python api.py"
networks: {}
```
下面是已经安装好环境的dokcer省去安装环境
```
version: "3"
services:
jd_autologin:
image: zzg1189/jd_login_env:latest
container_name: jd_login_env
restart: unless-stopped
ports:
- 12345:12345
working_dir: /app
environment:
TZ: Asia/Shanghai
command: >
sh -c "rm -rf *
&& wget -O api.py https://raw.githubusercontent.com/zhao-zg/jd-login/main/api.py
&& wget -O login.py https://raw.githubusercontent.com/zhao-zg/jd-login/main/login.py
&& python api.py"
networks: {}
```
# 感谢原作者小九九