From 9be1a95d5123afb6b64937a5cc0069fc2d4cd035 Mon Sep 17 00:00:00 2001
From: lxk0301 <778732665@qq.com>
Date: Tue, 10 Nov 2020 09:41:37 +0800
Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E6=8E=89=E6=89=80=E6=9C=89yml?=
=?UTF-8?q?=E6=96=87=E4=BB=B6.;=E5=8F=AA=E7=95=99=E4=B8=8B=E5=90=8C?=
=?UTF-8?q?=E6=AD=A5=E7=9B=B8=E5=85=B3=E7=9A=84yml?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.github/workflows/build_docker_image.yml | 43 ----
.github/workflows/jd_818.yml | 52 -----
.github/workflows/jd_bean_change.yml | 52 -----
.github/workflows/jd_bean_sign.yml | 54 -----
.github/workflows/jd_blueCoin.yml | 53 -----
.github/workflows/jd_club_lottery.yml | 51 -----
.github/workflows/jd_collectProduceScore.yml | 52 -----
.github/workflows/jd_daily_egg.yml | 52 -----
.github/workflows/jd_fruit.yml | 54 -----
.github/workflows/jd_joy.yml | 53 -----
.github/workflows/jd_joy_feedPets.yml | 52 -----
.github/workflows/jd_joy_reward.yml | 53 -----
.github/workflows/jd_joy_steal.yml | 52 -----
.github/workflows/jd_lotteryMachine.yml | 52 -----
.github/workflows/jd_moneyTree.yml | 51 -----
.github/workflows/jd_pet.yml | 53 -----
.github/workflows/jd_plantBean.yml | 52 -----
.github/workflows/jd_rankingList.yml | 52 -----
.github/workflows/jd_redPacket.yml | 51 -----
.github/workflows/jd_shop.yml | 51 -----
.github/workflows/jd_speed.yml | 51 -----
.github/workflows/jd_superMarket.yml | 55 -----
.github/workflows/jd_unsubscribe.yml | 52 -----
.github/workflows/jd_xtg.yml | 51 -----
.github/workflows/repo_sync.yml | 6 +-
JD_extra_cookie.js | 6 +-
README.md | 74 +++----
backUp/jd_fruit_double.js | 6 +-
backUp/jd_joy2.js | 4 +-
backUp/jd_joy_help2.js | 8 +-
backUp/jd_moneyTree2.js | 6 +-
backUp/jd_plantBean_double.js | 6 +-
backUp/jd_speed2.js | 6 +-
backUp/xmSports.js | 12 +-
backUp/xmly_speed_ccokie.js | 6 +-
githubAction.md | 220 -------------------
jd_818.js | 10 +-
jd_bean_change.js | 8 +-
jd_blueCoin.js | 8 +-
jd_club_lottery.js | 6 +-
jd_collectProduceScore.js | 2 +-
jd_fruit.js | 10 +-
jd_joy.js | 6 +-
jd_joy_feedPets.js | 6 +-
jd_joy_help.js | 8 +-
jd_joy_reward.js | 6 +-
jd_joy_run.js | 18 +-
jd_joy_steal.js | 6 +-
jd_mohe.js | 8 +-
jd_moneyTree.js | 8 +-
jd_pet.js | 10 +-
jd_petTreasureBox.js | 6 +-
jd_pigPet.js | 10 +-
jd_plantBean.js | 10 +-
jd_redPacket.js | 6 +-
jd_shop.js | 6 +-
jd_speed.js | 8 +-
jd_unsubscribe.js | 6 +-
jd_xtg.js | 12 +-
sendNotify.js | 2 +-
60 files changed, 160 insertions(+), 1630 deletions(-)
delete mode 100644 .github/workflows/build_docker_image.yml
delete mode 100644 .github/workflows/jd_818.yml
delete mode 100644 .github/workflows/jd_bean_change.yml
delete mode 100644 .github/workflows/jd_bean_sign.yml
delete mode 100644 .github/workflows/jd_blueCoin.yml
delete mode 100644 .github/workflows/jd_club_lottery.yml
delete mode 100644 .github/workflows/jd_collectProduceScore.yml
delete mode 100644 .github/workflows/jd_daily_egg.yml
delete mode 100644 .github/workflows/jd_fruit.yml
delete mode 100644 .github/workflows/jd_joy.yml
delete mode 100644 .github/workflows/jd_joy_feedPets.yml
delete mode 100644 .github/workflows/jd_joy_reward.yml
delete mode 100644 .github/workflows/jd_joy_steal.yml
delete mode 100644 .github/workflows/jd_lotteryMachine.yml
delete mode 100644 .github/workflows/jd_moneyTree.yml
delete mode 100644 .github/workflows/jd_pet.yml
delete mode 100644 .github/workflows/jd_plantBean.yml
delete mode 100644 .github/workflows/jd_rankingList.yml
delete mode 100644 .github/workflows/jd_redPacket.yml
delete mode 100644 .github/workflows/jd_shop.yml
delete mode 100644 .github/workflows/jd_speed.yml
delete mode 100644 .github/workflows/jd_superMarket.yml
delete mode 100644 .github/workflows/jd_unsubscribe.yml
delete mode 100644 .github/workflows/jd_xtg.yml
delete mode 100644 githubAction.md
diff --git a/.github/workflows/build_docker_image.yml b/.github/workflows/build_docker_image.yml
deleted file mode 100644
index b29542a3..00000000
--- a/.github/workflows/build_docker_image.yml
+++ /dev/null
@@ -1,43 +0,0 @@
-name: 构建JD Scripts镜像
-
-on:
- workflow_dispatch:
- push:
- branches:
- - master
- paths:
- - "docker/Dockerfile"
-
-jobs:
- build-and-push:
- runs-on: ubuntu-latest
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- steps:
- - uses: actions/checkout@master
-
- # 要去 https://hub.docker.com/ 那边注册一个账户然后配置用户名密码
- # - name: 构建并推送到Dockerhub官方镜像仓库
- # uses: docker/build-push-action@v1
- # with:
- # username: ${{ secrets.DOCKER_USERNAME }}
- # password: ${{ secrets.DOCKER_PASSWORD }}
- # dockerfile: docker/Dockerfile
- # repository: akyakya/jd_scripts
- # tag_with_ref: true
-
- - id: repo_name
- uses: ASzc/change-string-case-action@v1
- with:
- string: ${{ github.repository }}
-
- - name: 构建并推送到Github Packages
- uses: docker/build-push-action@v1
- if: env.GITHUB_TOKEN
- with:
- username: ${{ github.actor }}
- password: ${{ secrets.GITHUB_TOKEN }}
- dockerfile: docker/Dockerfile
- registry: docker.pkg.github.com
- repository: ${{ steps.repo_name.outputs.lowercase }}/jd_scripts
- tag_with_ref: true
diff --git a/.github/workflows/jd_818.yml b/.github/workflows/jd_818.yml
deleted file mode 100644
index 89bbbb3c..00000000
--- a/.github/workflows/jd_818.yml
+++ /dev/null
@@ -1,52 +0,0 @@
-# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
-# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
-
-name: jd_818
-
-on:
- workflow_dispatch:
- schedule:
- - cron: '0 1,4,7,10,12,16,22 * * *'
- watch:
- types: started
- repository_dispatch:
- types: 818
-jobs:
- build:
-
- runs-on: ubuntu-latest
- if: github.event.repository.owner.id == github.event.sender.id
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- repository: lxk0301/scripts
- - name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v1
- with:
- node-version: ${{ matrix.node-version }}
- - name: Cache node_modules
- uses: actions/cache@v2 # 使用 GitHub 官方的缓存 Action。
- env:
- cache-name: cache-node-modules
- with:
- path: node_modules
- key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }} # 使用 package-lock.json 的 Hash 作为缓存的 key。也可以使用 package.json 代替
- - name: npm install
- run: |
- npm install
- - name: '运行 【手机狂欢城脚本】'
- run: |
- node jd_818.js
- env:
- JD_COOKIE: ${{ secrets.JD_COOKIE }}
- JD_DEBUG: ${{ secrets.JD_DEBUG }}
- PUSH_KEY: ${{ secrets.PUSH_KEY }}
- BARK_PUSH: ${{ secrets.BARK_PUSH }}
- BARK_SOUND: ${{ secrets.BARK_SOUND }}
- TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
- TG_USER_ID: ${{ secrets.TG_USER_ID }}
- DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }}
- DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }}
- IGOT_PUSH_KEY: ${{ secrets.IGOT_PUSH_KEY }}
- JD_818_SHAREID_NOTIFY: ${{ secrets.JD_818_SHAREID_NOTIFY }}
diff --git a/.github/workflows/jd_bean_change.yml b/.github/workflows/jd_bean_change.yml
deleted file mode 100644
index fb3337f7..00000000
--- a/.github/workflows/jd_bean_change.yml
+++ /dev/null
@@ -1,52 +0,0 @@
-# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
-# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
-
-name: jd_bean_change
-
-on:
- workflow_dispatch:
- schedule:
- - cron: '0 2 * * *'
- watch:
- types: started
- repository_dispatch:
- types: bean_change
-jobs:
- build:
-
- runs-on: ubuntu-latest
- if: github.event.repository.owner.id == github.event.sender.id
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- repository: lxk0301/scripts
- - name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v1
- with:
- node-version: ${{ matrix.node-version }}
- - name: Cache node_modules
- uses: actions/cache@v2 # 使用 GitHub 官方的缓存 Action。
- env:
- cache-name: cache-node-modules
- with:
- path: node_modules
- key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }} # 使用 package-lock.json 的 Hash 作为缓存的 key。也可以使用 package.json 代替
- - name: npm install
- run: |
- npm install
- - name: '运行 【京豆变动通知】'
- run: |
- node jd_bean_change.js
- env:
- JD_COOKIE: ${{ secrets.JD_COOKIE }}
- JD_DEBUG: ${{ secrets.JD_DEBUG }}
- PUSH_KEY: ${{ secrets.PUSH_KEY }}
- BARK_PUSH: ${{ secrets.BARK_PUSH }}
- BARK_SOUND: ${{ secrets.BARK_SOUND }}
- TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
- TG_USER_ID: ${{ secrets.TG_USER_ID }}
- DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }}
- DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }}
- IGOT_PUSH_KEY: ${{ secrets.IGOT_PUSH_KEY }}
- JD_818_SHAREID_NOTIFY: ${{ secrets.JD_818_SHAREID_NOTIFY }}
diff --git a/.github/workflows/jd_bean_sign.yml b/.github/workflows/jd_bean_sign.yml
deleted file mode 100644
index 004aa2fc..00000000
--- a/.github/workflows/jd_bean_sign.yml
+++ /dev/null
@@ -1,54 +0,0 @@
-# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
-# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
-
-name: jd_bean_sign
-
-on:
- workflow_dispatch:
- schedule:
- - cron: '0 16 * * *'
- watch:
- types: started
- repository_dispatch:
- types: bean_sgin
-jobs:
- build:
-
- runs-on: ubuntu-latest
- if: github.event.repository.owner.id == github.event.sender.id
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- repository: lxk0301/scripts
- - name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v1
- with:
- node-version: ${{ matrix.node-version }}
- - name: Cache node_modules
- uses: actions/cache@v2 # 使用 GitHub 官方的缓存 Action。
- env:
- cache-name: cache-node-modules
- with:
- path: node_modules
- key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }} # 使用 package-lock.json 的 Hash 作为缓存的 key。也可以使用 package.json 代替
- - name: npm install
- run: |
- npm install
- - name: '运行 【京豆签到脚本】'
- run: |
- node jd_bean_sign.js
- env:
- JD_COOKIE: ${{ secrets.JD_COOKIE }}
- JD_DEBUG: ${{ secrets.JD_DEBUG }}
- JD_BEAN_STOP: ${{secrets.JD_BEAN_STOP}} #自定义延迟签到,单位毫秒. 默认分批并发无延迟. 延迟作用于每个签到接口, 如填入延迟则切换顺序签到(耗时较长)
- JD_BEAN_SIGN_STOP_NOTIFY: ${{secrets.JD_BEAN_SIGN_STOP_NOTIFY}}
- JD_BEAN_SIGN_NOTIFY_SIMPLE: ${{secrets.JD_BEAN_SIGN_NOTIFY_SIMPLE}}
- PUSH_KEY: ${{ secrets.PUSH_KEY }}
- BARK_PUSH: ${{ secrets.BARK_PUSH }}
- TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
- TG_USER_ID: ${{ secrets.TG_USER_ID }}
- BARK_SOUND: ${{ secrets.BARK_SOUND }}
- DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }}
- DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }}
- IGOT_PUSH_KEY: ${{ secrets.IGOT_PUSH_KEY }}
\ No newline at end of file
diff --git a/.github/workflows/jd_blueCoin.yml b/.github/workflows/jd_blueCoin.yml
deleted file mode 100644
index 58b3a18d..00000000
--- a/.github/workflows/jd_blueCoin.yml
+++ /dev/null
@@ -1,53 +0,0 @@
-# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
-# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
-
-name: jd_blueCoin
-
-on:
- workflow_dispatch:
- schedule:
- - cron: '0 16 * * *'
- watch:
- types: started
- repository_dispatch:
- types: blueCoin
-jobs:
- build:
-
- runs-on: ubuntu-latest
- if: github.event.repository.owner.id == github.event.sender.id
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- repository: lxk0301/scripts
- - name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v1
- with:
- node-version: ${{ matrix.node-version }}
- - name: Cache node_modules
- uses: actions/cache@v2 # 使用 GitHub 官方的缓存 Action。
- env:
- cache-name: cache-node-modules
- with:
- path: node_modules
- key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }} # 使用 package-lock.json 的 Hash 作为缓存的 key。也可以使用 package.json 代替
- - name: npm install
- run: |
- npm install
- - name: '运行 【京小超兑换奖品】'
- run: |
- node jd_blueCoin.js
- env:
- JD_COOKIE: ${{ secrets.JD_COOKIE }}
- JD_DEBUG: ${{ secrets.JD_DEBUG }}
- MARKET_COIN_TO_BEANS: ${{ secrets.MARKET_COIN_TO_BEANS }}
- MARKET_REWARD_NOTIFY: ${{ secrets.MARKET_REWARD_NOTIFY }}
- PUSH_KEY: ${{ secrets.PUSH_KEY }}
- BARK_PUSH: ${{ secrets.BARK_PUSH }}
- TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
- TG_USER_ID: ${{ secrets.TG_USER_ID }}
- BARK_SOUND: ${{ secrets.BARK_SOUND }}
- DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }}
- DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }}
- IGOT_PUSH_KEY: ${{ secrets.IGOT_PUSH_KEY }}
\ No newline at end of file
diff --git a/.github/workflows/jd_club_lottery.yml b/.github/workflows/jd_club_lottery.yml
deleted file mode 100644
index ffec69bc..00000000
--- a/.github/workflows/jd_club_lottery.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
-# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
-
-name: jd_club_lottery
-
-on:
- workflow_dispatch:
- schedule:
- - cron: '0 16 * * *'
- watch:
- types: started
- repository_dispatch:
- types: club_lottery
-jobs:
- build:
-
- runs-on: ubuntu-latest
- if: github.event.repository.owner.id == github.event.sender.id
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- repository: lxk0301/scripts
- - name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v1
- with:
- node-version: ${{ matrix.node-version }}
- - name: Cache node_modules
- uses: actions/cache@v2 # 使用 GitHub 官方的缓存 Action。
- env:
- cache-name: cache-node-modules
- with:
- path: node_modules
- key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }} # 使用 package-lock.json 的 Hash 作为缓存的 key。也可以使用 package.json 代替
- - name: npm install
- run: |
- npm install
- - name: '运行 【摇京豆脚本】'
- run: |
- node jd_club_lottery.js
- env:
- JD_COOKIE: ${{ secrets.JD_COOKIE }}
- JD_DEBUG: ${{ secrets.JD_DEBUG }}
- PUSH_KEY: ${{ secrets.PUSH_KEY }}
- BARK_PUSH: ${{ secrets.BARK_PUSH }}
- TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
- TG_USER_ID: ${{ secrets.TG_USER_ID }}
- BARK_SOUND: ${{ secrets.BARK_SOUND }}
- DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }}
- DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }}
- IGOT_PUSH_KEY: ${{ secrets.IGOT_PUSH_KEY }}
diff --git a/.github/workflows/jd_collectProduceScore.yml b/.github/workflows/jd_collectProduceScore.yml
deleted file mode 100644
index 5a1cef4c..00000000
--- a/.github/workflows/jd_collectProduceScore.yml
+++ /dev/null
@@ -1,52 +0,0 @@
-# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
-# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
-
-name: jd_collectProduceScore
-
-on:
- workflow_dispatch:
- schedule:
- - cron: '30 * * * *'
- watch:
- types: started
- repository_dispatch:
- types: collectProduceScore
-jobs:
- build:
-
- runs-on: ubuntu-latest
- if: github.event.repository.owner.id == github.event.sender.id
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- repository: lxk0301/scripts
- - name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v1
- with:
- node-version: ${{ matrix.node-version }}
- - name: Cache node_modules
- uses: actions/cache@v2 # 使用 GitHub 官方的缓存 Action。
- env:
- cache-name: cache-node-modules
- with:
- path: node_modules
- key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }} # 使用 package-lock.json 的 Hash 作为缓存的 key。也可以使用 package.json 代替
- - name: npm install
- run: |
- npm install
- - name: '运行 【京东全民营业领金币】'
- run: |
- node jd_collectProduceScore.js
- env:
- JD_COOKIE: ${{ secrets.JD_COOKIE }}
- JD_DEBUG: ${{ secrets.JD_DEBUG }}
- PUSH_KEY: ${{ secrets.PUSH_KEY }}
- BARK_PUSH: ${{ secrets.BARK_PUSH }}
- BARK_SOUND: ${{ secrets.BARK_SOUND }}
- TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
- TG_USER_ID: ${{ secrets.TG_USER_ID }}
- DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }}
- DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }}
- IGOT_PUSH_KEY: ${{ secrets.IGOT_PUSH_KEY }}
- JD_818_SHAREID_NOTIFY: ${{ secrets.JD_818_SHAREID_NOTIFY }}
\ No newline at end of file
diff --git a/.github/workflows/jd_daily_egg.yml b/.github/workflows/jd_daily_egg.yml
deleted file mode 100644
index 2756a751..00000000
--- a/.github/workflows/jd_daily_egg.yml
+++ /dev/null
@@ -1,52 +0,0 @@
-# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
-# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
-
-name: jd_daily_egg
-
-on:
- workflow_dispatch:
- schedule:
- - cron: '10 */3 * * *'
- watch:
- types: started
- repository_dispatch:
- types: jd_daily_egg
-jobs:
- build:
-
- runs-on: ubuntu-latest
- if: github.event.repository.owner.id == github.event.sender.id
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- repository: lxk0301/scripts
- - name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v1
- with:
- node-version: ${{ matrix.node-version }}
- - name: Cache node_modules
- uses: actions/cache@v2 # 使用 GitHub 官方的缓存 Action。
- env:
- cache-name: cache-node-modules
- with:
- path: node_modules
- key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }} # 使用 package-lock.json 的 Hash 作为缓存的 key。也可以使用 package.json 代替
- - name: npm install
- run: |
- npm install
- - name: '运行 【天天提鹅】'
- run: |
- node jd_daily_egg.js
- env:
- JD_COOKIE: ${{ secrets.JD_COOKIE }}
- JD_DEBUG: ${{ secrets.JD_DEBUG }}
- PUSH_KEY: ${{ secrets.PUSH_KEY }}
- BARK_PUSH: ${{ secrets.BARK_PUSH }}
- BARK_SOUND: ${{ secrets.BARK_SOUND }}
- TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
- TG_USER_ID: ${{ secrets.TG_USER_ID }}
- DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }}
- DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }}
- IGOT_PUSH_KEY: ${{ secrets.IGOT_PUSH_KEY }}
- JD_818_SHAREID_NOTIFY: ${{ secrets.JD_818_SHAREID_NOTIFY }}
diff --git a/.github/workflows/jd_fruit.yml b/.github/workflows/jd_fruit.yml
deleted file mode 100644
index 0bc786fb..00000000
--- a/.github/workflows/jd_fruit.yml
+++ /dev/null
@@ -1,54 +0,0 @@
-# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
-# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
-
-name: jd_fruit
-
-on:
- workflow_dispatch:
- schedule:
- - cron: '20 23,4,10 * * *'
- watch:
- types: started
- repository_dispatch:
- types: fruit
-jobs:
- build:
-
- runs-on: ubuntu-latest
- if: github.event.repository.owner.id == github.event.sender.id
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- repository: lxk0301/scripts
- - name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v1
- with:
- node-version: ${{ matrix.node-version }}
- - name: Cache node_modules
- uses: actions/cache@v2 # 使用 GitHub 官方的缓存 Action。
- env:
- cache-name: cache-node-modules
- with:
- path: node_modules
- key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }} # 使用 package-lock.json 的 Hash 作为缓存的 key。也可以使用 package.json 代替
- - name: npm install
- run: |
- npm install
- - name: '运行 【东东农场】'
- run: |
- node jd_fruit.js
- env:
- JD_COOKIE: ${{ secrets.JD_COOKIE }}
- JD_DEBUG: ${{ secrets.JD_DEBUG }}
- PUSH_KEY: ${{ secrets.PUSH_KEY }}
- BARK_PUSH: ${{ secrets.BARK_PUSH }}
- FRUITSHARECODES: ${{ secrets.FRUITSHARECODES }}
- FRUIT_BEAN_CARD: ${{ secrets.FRUIT_BEAN_CARD }}
- TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
- TG_USER_ID: ${{ secrets.TG_USER_ID }}
- FRUIT_NOTIFY_CONTROL: ${{ secrets.FRUIT_NOTIFY_CONTROL }}
- BARK_SOUND: ${{ secrets.BARK_SOUND }}
- DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }}
- DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }}
- IGOT_PUSH_KEY: ${{ secrets.IGOT_PUSH_KEY }}
\ No newline at end of file
diff --git a/.github/workflows/jd_joy.yml b/.github/workflows/jd_joy.yml
deleted file mode 100644
index 48977de6..00000000
--- a/.github/workflows/jd_joy.yml
+++ /dev/null
@@ -1,53 +0,0 @@
-# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
-# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
-
-name: jd_joy
-
-on:
- workflow_dispatch:
- schedule:
- - cron: '0 0,1,4,10,15,16 * * *'
- watch:
- types: started
- repository_dispatch:
- types: joy
-jobs:
- build:
-
- runs-on: ubuntu-latest
- if: github.event.repository.owner.id == github.event.sender.id
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- repository: lxk0301/scripts
- - name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v1
- with:
- node-version: ${{ matrix.node-version }}
- - name: Cache node_modules
- uses: actions/cache@v2 # 使用 GitHub 官方的缓存 Action。
- env:
- cache-name: cache-node-modules
- with:
- path: node_modules
- key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }} # 使用 package-lock.json 的 Hash 作为缓存的 key。也可以使用 package.json 代替
- - name: npm install
- run: |
- npm install
- - name: '运行 【宠汪汪】'
- run: |
- node jd_joy.js
- env:
- JD_COOKIE: ${{ secrets.JD_COOKIE }}
- JD_DEBUG: ${{ secrets.JD_DEBUG }}
- JOY_FEED_COUNT: ${{ secrets.JOY_FEED_COUNT }}
- JOY_RUN_FLAG: ${{ secrets.JOY_RUN_FLAG }}
- PUSH_KEY: ${{ secrets.PUSH_KEY }}
- BARK_PUSH: ${{ secrets.BARK_PUSH }}
- BARK_SOUND: ${{ secrets.BARK_SOUND }}
- TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
- TG_USER_ID: ${{ secrets.TG_USER_ID }}
- DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }}
- DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }}
- IGOT_PUSH_KEY: ${{ secrets.IGOT_PUSH_KEY }}
\ No newline at end of file
diff --git a/.github/workflows/jd_joy_feedPets.yml b/.github/workflows/jd_joy_feedPets.yml
deleted file mode 100644
index 229d8096..00000000
--- a/.github/workflows/jd_joy_feedPets.yml
+++ /dev/null
@@ -1,52 +0,0 @@
-# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
-# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
-
-name: jd_joy_feedPets
-
-on:
- workflow_dispatch:
- schedule:
- - cron: '*/20 */1 * * *'
- watch:
- types: [started]
- repository_dispatch:
- types: joy_feedPets
-jobs:
- build:
-
- runs-on: ubuntu-latest
- if: github.event.repository.owner.id == github.event.sender.id
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- repository: lxk0301/scripts
- - name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v1
- with:
- node-version: ${{ matrix.node-version }}
- - name: Cache node_modules
- uses: actions/cache@v2 # 使用 GitHub 官方的缓存 Action。
- env:
- cache-name: cache-node-modules
- with:
- path: node_modules
- key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }} # 使用 package-lock.json 的 Hash 作为缓存的 key。也可以使用 package.json 代替
- - name: npm install
- run: |
- npm install
- - name: '运行 【宠汪汪喂食脚本】'
- run: |
- node jd_joy_feedPets.js
- env:
- JD_COOKIE: ${{ secrets.JD_COOKIE }}
- JD_DEBUG: ${{ secrets.JD_DEBUG }}
- JOY_FEED_COUNT: ${{ secrets.JOY_FEED_COUNT }}
- PUSH_KEY: ${{ secrets.PUSH_KEY }}
- BARK_PUSH: ${{ secrets.BARK_PUSH }}
- BARK_SOUND: ${{ secrets.BARK_SOUND }}
- TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
- TG_USER_ID: ${{ secrets.TG_USER_ID }}
- DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }}
- DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }}
- IGOT_PUSH_KEY: ${{ secrets.IGOT_PUSH_KEY }}
\ No newline at end of file
diff --git a/.github/workflows/jd_joy_reward.yml b/.github/workflows/jd_joy_reward.yml
deleted file mode 100644
index bdc0b242..00000000
--- a/.github/workflows/jd_joy_reward.yml
+++ /dev/null
@@ -1,53 +0,0 @@
-# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
-# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
-
-name: jd_joy_reward
-
-on:
- workflow_dispatch:
- schedule:
- - cron: '0 0,4,8,16 * * *'
- watch:
- types: started
- repository_dispatch:
- types: joy_reward
-jobs:
- build:
-
- runs-on: ubuntu-latest
- if: github.event.repository.owner.id == github.event.sender.id
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- repository: lxk0301/scripts
- - name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v1
- with:
- node-version: ${{ matrix.node-version }}
- - name: Cache node_modules
- uses: actions/cache@v2 # 使用 GitHub 官方的缓存 Action。
- env:
- cache-name: cache-node-modules
- with:
- path: node_modules
- key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }} # 使用 package-lock.json 的 Hash 作为缓存的 key。也可以使用 package.json 代替
- - name: npm install
- run: |
- npm install
- - name: '运行 【宠汪汪积分兑换京豆】'
- run: |
- node jd_joy_reward.js
- env:
- JD_COOKIE: ${{ secrets.JD_COOKIE }}
- JD_DEBUG: ${{ secrets.JD_DEBUG }}
- JD_JOY_REWARD_NOTIFY: ${{ secrets.JD_JOY_REWARD_NOTIFY }}
- JD_JOY_REWARD_NAME: ${{ secrets.JD_JOY_REWARD_NAME }}
- PUSH_KEY: ${{ secrets.PUSH_KEY }}
- BARK_PUSH: ${{ secrets.BARK_PUSH }}
- BARK_SOUND: ${{ secrets.BARK_SOUND }}
- TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
- TG_USER_ID: ${{ secrets.TG_USER_ID }}
- DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }}
- DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }}
- IGOT_PUSH_KEY: ${{ secrets.IGOT_PUSH_KEY }}
\ No newline at end of file
diff --git a/.github/workflows/jd_joy_steal.yml b/.github/workflows/jd_joy_steal.yml
deleted file mode 100644
index 0dad387a..00000000
--- a/.github/workflows/jd_joy_steal.yml
+++ /dev/null
@@ -1,52 +0,0 @@
-# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
-# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
-
-name: jd_joy_steal
-
-on:
- workflow_dispatch:
- schedule:
- - cron: '0 16,22 * * *'
- watch:
- types: started
- repository_dispatch:
- types: joy_steal
-jobs:
- build:
-
- runs-on: ubuntu-latest
- if: github.event.repository.owner.id == github.event.sender.id
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- repository: lxk0301/scripts
- - name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v1
- with:
- node-version: ${{ matrix.node-version }}
- - name: Cache node_modules
- uses: actions/cache@v2 # 使用 GitHub 官方的缓存 Action。
- env:
- cache-name: cache-node-modules
- with:
- path: node_modules
- key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }} # 使用 package-lock.json 的 Hash 作为缓存的 key。也可以使用 package.json 代替
- - name: npm install
- run: |
- npm install
- - name: '运行 【宠汪汪偷好友狗粮与积分】'
- run: |
- node jd_joy_steal.js
- env:
- JD_COOKIE: ${{ secrets.JD_COOKIE }}
- JD_DEBUG: ${{ secrets.JD_DEBUG }}
- JOY_HELP_FEED: ${{ secrets.JOY_HELP_FEED }}
- PUSH_KEY: ${{ secrets.PUSH_KEY }}
- BARK_PUSH: ${{ secrets.BARK_PUSH }}
- TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
- TG_USER_ID: ${{ secrets.TG_USER_ID }}
- BARK_SOUND: ${{ secrets.BARK_SOUND }}
- DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }}
- DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }}
- IGOT_PUSH_KEY: ${{ secrets.IGOT_PUSH_KEY }}
\ No newline at end of file
diff --git a/.github/workflows/jd_lotteryMachine.yml b/.github/workflows/jd_lotteryMachine.yml
deleted file mode 100644
index f53baf49..00000000
--- a/.github/workflows/jd_lotteryMachine.yml
+++ /dev/null
@@ -1,52 +0,0 @@
-# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
-# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
-
-name: jd_lotteryMachine
-
-on:
- workflow_dispatch:
- schedule:
- - cron: '11 17 * * *'
- watch:
- types: started
- repository_dispatch:
- types: jd_lotteryMachine
-jobs:
- build:
-
- runs-on: ubuntu-latest
- if: github.event.repository.owner.id == github.event.sender.id
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- repository: lxk0301/scripts
- - name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v1
- with:
- node-version: ${{ matrix.node-version }}
- - name: Cache node_modules
- uses: actions/cache@v2 # 使用 GitHub 官方的缓存 Action。
- env:
- cache-name: cache-node-modules
- with:
- path: node_modules
- key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }} # 使用 package-lock.json 的 Hash 作为缓存的 key。也可以使用 package.json 代替
- - name: npm install
- run: |
- npm install
- - name: '运行 【京东抽奖机】'
- run: |
- node jd_lotteryMachine.js
- env:
- JD_COOKIE: ${{ secrets.JD_COOKIE }}
- JD_DEBUG: ${{ secrets.JD_DEBUG }}
- PUSH_KEY: ${{ secrets.PUSH_KEY }}
- BARK_PUSH: ${{ secrets.BARK_PUSH }}
- BARK_SOUND: ${{ secrets.BARK_SOUND }}
- TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
- TG_USER_ID: ${{ secrets.TG_USER_ID }}
- DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }}
- DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }}
- IGOT_PUSH_KEY: ${{ secrets.IGOT_PUSH_KEY }}
-
diff --git a/.github/workflows/jd_moneyTree.yml b/.github/workflows/jd_moneyTree.yml
deleted file mode 100644
index 3fd782d2..00000000
--- a/.github/workflows/jd_moneyTree.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
-# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
-
-name: jd_moneyTree
-
-on:
-
- schedule:
- - cron: '40 */3 * * *'
- watch:
- types: started
- repository_dispatch:
- types: moneyTree
-jobs:
- build:
-
- runs-on: ubuntu-latest
- if: github.event.repository.owner.id == github.event.sender.id
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- repository: lxk0301/scripts
- - name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v1
- with:
- node-version: ${{ matrix.node-version }}
- - name: Cache node_modules
- uses: actions/cache@v2 # 使用 GitHub 官方的缓存 Action。
- env:
- cache-name: cache-node-modules
- with:
- path: node_modules
- key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }} # 使用 package-lock.json 的 Hash 作为缓存的 key。也可以使用 package.json 代替
- - name: npm install
- run: |
- npm install
- - name: '运行 【京东摇钱树】'
- run: |
- node jd_moneyTree.js
- env:
- JD_COOKIE: ${{ secrets.JD_COOKIE }}
- JD_DEBUG: ${{ secrets.JD_DEBUG }}
- PUSH_KEY: ${{ secrets.PUSH_KEY }}
- BARK_PUSH: ${{ secrets.BARK_PUSH }}
- TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
- TG_USER_ID: ${{ secrets.TG_USER_ID }}
- BARK_SOUND: ${{ secrets.BARK_SOUND }}
- DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }}
- DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }}
- IGOT_PUSH_KEY: ${{ secrets.IGOT_PUSH_KEY }}
\ No newline at end of file
diff --git a/.github/workflows/jd_pet.yml b/.github/workflows/jd_pet.yml
deleted file mode 100644
index 2b176810..00000000
--- a/.github/workflows/jd_pet.yml
+++ /dev/null
@@ -1,53 +0,0 @@
-# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
-# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
-
-name: jd_pet
-
-on:
- workflow_dispatch:
- schedule:
- - cron: '35 23,4,10 * * *'
- watch:
- types: [started]
- repository_dispatch:
- types: pet
-jobs:
- build:
-
- runs-on: ubuntu-latest
- if: github.event.repository.owner.id == github.event.sender.id
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- repository: lxk0301/scripts
- - name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v1
- with:
- node-version: ${{ matrix.node-version }}
- - name: Cache node_modules
- uses: actions/cache@v2 # 使用 GitHub 官方的缓存 Action。
- env:
- cache-name: cache-node-modules
- with:
- path: node_modules
- key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }} # 使用 package-lock.json 的 Hash 作为缓存的 key。也可以使用 package.json 代替
- - name: npm install
- run: |
- npm install
- - name: '运行 【东东萌宠】'
- run: |
- node jd_pet.js
- env:
- JD_COOKIE: ${{ secrets.JD_COOKIE }}
- JD_DEBUG: ${{ secrets.JD_DEBUG }}
- PUSH_KEY: ${{ secrets.PUSH_KEY }}
- BARK_PUSH: ${{ secrets.BARK_PUSH }}
- PETSHARECODES: ${{ secrets.PETSHARECODES }}
- TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
- TG_USER_ID: ${{ secrets.TG_USER_ID }}
- PET_NOTIFY_CONTROL: ${{ secrets.PET_NOTIFY_CONTROL }}
- BARK_SOUND: ${{ secrets.BARK_SOUND }}
- DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }}
- DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }}
- IGOT_PUSH_KEY: ${{ secrets.IGOT_PUSH_KEY }}
\ No newline at end of file
diff --git a/.github/workflows/jd_plantBean.yml b/.github/workflows/jd_plantBean.yml
deleted file mode 100644
index 478e742c..00000000
--- a/.github/workflows/jd_plantBean.yml
+++ /dev/null
@@ -1,52 +0,0 @@
-# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
-# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
-
-name: jd_plantBean
-
-on:
- workflow_dispatch:
- schedule:
- - cron: '0 23,0-14/1 * * *' #此处为UTC-0时间
- watch:
- types: started
- repository_dispatch:
- types: pantBean
-jobs:
- build:
-
- runs-on: ubuntu-latest
- if: github.event.repository.owner.id == github.event.sender.id
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- repository: lxk0301/scripts
- - name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v1
- with:
- node-version: ${{ matrix.node-version }}
- - name: Cache node_modules
- uses: actions/cache@v2 # 使用 GitHub 官方的缓存 Action。
- env:
- cache-name: cache-node-modules
- with:
- path: node_modules
- key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }} # 使用 package-lock.json 的 Hash 作为缓存的 key。也可以使用 package.json 代替
- - name: npm install
- run: |
- npm install
- - name: '运行 【种豆得豆】'
- run: |
- node jd_plantBean.js
- env:
- JD_COOKIE: ${{ secrets.JD_COOKIE }}
- JD_DEBUG: ${{ secrets.JD_DEBUG }}
- PUSH_KEY: ${{ secrets.PUSH_KEY }}
- BARK_PUSH: ${{ secrets.BARK_PUSH }}
- PLANT_BEAN_SHARECODES: ${{ secrets.PLANT_BEAN_SHARECODES }}
- TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
- TG_USER_ID: ${{ secrets.TG_USER_ID }}
- BARK_SOUND: ${{ secrets.BARK_SOUND }}
- DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }}
- DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }}
- IGOT_PUSH_KEY: ${{ secrets.IGOT_PUSH_KEY }}
diff --git a/.github/workflows/jd_rankingList.yml b/.github/workflows/jd_rankingList.yml
deleted file mode 100644
index 15b0f0cc..00000000
--- a/.github/workflows/jd_rankingList.yml
+++ /dev/null
@@ -1,52 +0,0 @@
-# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
-# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
-
-name: jd_rankingList
-
-on:
- workflow_dispatch:
- schedule:
- - cron: '11 18 * * *'
- watch:
- types: started
- repository_dispatch:
- types: jd_rankingList
-jobs:
- build:
-
- runs-on: ubuntu-latest
- if: github.event.repository.owner.id == github.event.sender.id
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- repository: lxk0301/scripts
- - name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v1
- with:
- node-version: ${{ matrix.node-version }}
- - name: Cache node_modules
- uses: actions/cache@v2 # 使用 GitHub 官方的缓存 Action。
- env:
- cache-name: cache-node-modules
- with:
- path: node_modules
- key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }} # 使用 package-lock.json 的 Hash 作为缓存的 key。也可以使用 package.json 代替
- - name: npm install
- run: |
- npm install
- - name: '运行 【京东排行榜】'
- run: |
- node jd_rankingList.js
- env:
- JD_COOKIE: ${{ secrets.JD_COOKIE }}
- JD_DEBUG: ${{ secrets.JD_DEBUG }}
- PUSH_KEY: ${{ secrets.PUSH_KEY }}
- BARK_PUSH: ${{ secrets.BARK_PUSH }}
- BARK_SOUND: ${{ secrets.BARK_SOUND }}
- TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
- TG_USER_ID: ${{ secrets.TG_USER_ID }}
- DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }}
- DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }}
- IGOT_PUSH_KEY: ${{ secrets.IGOT_PUSH_KEY }}
-
diff --git a/.github/workflows/jd_redPacket.yml b/.github/workflows/jd_redPacket.yml
deleted file mode 100644
index 2472c8bd..00000000
--- a/.github/workflows/jd_redPacket.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
-# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
-
-name: jd_redPacket
-
-on:
- workflow_dispatch:
- schedule:
- - cron: '0 17 * * *'
- watch:
- types: started
- repository_dispatch:
- types: redPacket
-jobs:
- build:
-
- runs-on: ubuntu-latest
- if: github.event.repository.owner.id == github.event.sender.id
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- repository: lxk0301/scripts
- - name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v1
- with:
- node-version: ${{ matrix.node-version }}
- - name: Cache node_modules
- uses: actions/cache@v2 # 使用 GitHub 官方的缓存 Action。
- env:
- cache-name: cache-node-modules
- with:
- path: node_modules
- key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }} # 使用 package-lock.json 的 Hash 作为缓存的 key。也可以使用 package.json 代替
- - name: npm install
- run: |
- npm install
- - name: '运行 【全民开红包脚本】'
- run: |
- node jd_redPacket.js
- env:
- JD_COOKIE: ${{ secrets.JD_COOKIE }}
- JD_DEBUG: ${{ secrets.JD_DEBUG }}
- PUSH_KEY: ${{ secrets.PUSH_KEY }}
- BARK_PUSH: ${{ secrets.BARK_PUSH }}
- TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
- TG_USER_ID: ${{ secrets.TG_USER_ID }}
- BARK_SOUND: ${{ secrets.BARK_SOUND }}
- DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }}
- DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }}
- IGOT_PUSH_KEY: ${{ secrets.IGOT_PUSH_KEY }}
\ No newline at end of file
diff --git a/.github/workflows/jd_shop.yml b/.github/workflows/jd_shop.yml
deleted file mode 100644
index 024e7432..00000000
--- a/.github/workflows/jd_shop.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
-# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
-
-name: jd_shop
-
-on:
- workflow_dispatch:
- schedule:
- - cron: '0 16 * * *'
- watch:
- types: started
- repository_dispatch:
- types: shop
-jobs:
- build:
-
- runs-on: ubuntu-latest
- if: github.event.repository.owner.id == github.event.sender.id
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- repository: lxk0301/scripts
- - name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v1
- with:
- node-version: ${{ matrix.node-version }}
- - name: Cache node_modules
- uses: actions/cache@v2 # 使用 GitHub 官方的缓存 Action。
- env:
- cache-name: cache-node-modules
- with:
- path: node_modules
- key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }} # 使用 package-lock.json 的 Hash 作为缓存的 key。也可以使用 package.json 代替
- - name: npm install
- run: |
- npm install
- - name: '运行 【进店领豆脚本】'
- run: |
- node jd_shop.js
- env:
- JD_COOKIE: ${{ secrets.JD_COOKIE }}
- JD_DEBUG: ${{ secrets.JD_DEBUG }}
- PUSH_KEY: ${{ secrets.PUSH_KEY }}
- BARK_PUSH: ${{ secrets.BARK_PUSH }}
- TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
- TG_USER_ID: ${{ secrets.TG_USER_ID }}
- BARK_SOUND: ${{ secrets.BARK_SOUND }}
- DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }}
- DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }}
- IGOT_PUSH_KEY: ${{ secrets.IGOT_PUSH_KEY }}
diff --git a/.github/workflows/jd_speed.yml b/.github/workflows/jd_speed.yml
deleted file mode 100644
index ab2d9cc0..00000000
--- a/.github/workflows/jd_speed.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
-# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
-
-name: jd_speed
-
-on:
- workflow_dispatch:
- schedule:
- - cron: '33 */3 * * *'
- watch:
- types: started
- repository_dispatch:
- types: speed
-jobs:
- build:
-
- runs-on: ubuntu-latest
- if: github.event.repository.owner.id == github.event.sender.id
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- repository: lxk0301/scripts
- - name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v1
- with:
- node-version: ${{ matrix.node-version }}
- - name: Cache node_modules
- uses: actions/cache@v2 # 使用 GitHub 官方的缓存 Action。
- env:
- cache-name: cache-node-modules
- with:
- path: node_modules
- key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }} # 使用 package-lock.json 的 Hash 作为缓存的 key。也可以使用 package.json 代替
- - name: npm install
- run: |
- npm install
- - name: '运行 【天天加速】'
- run: |
- node jd_speed.js
- env:
- JD_COOKIE: ${{ secrets.JD_COOKIE }}
- JD_DEBUG: ${{ secrets.JD_DEBUG }}
- PUSH_KEY: ${{ secrets.PUSH_KEY }}
- BARK_PUSH: ${{ secrets.BARK_PUSH }}
- TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
- TG_USER_ID: ${{ secrets.TG_USER_ID }}
- BARK_SOUND: ${{ secrets.BARK_SOUND }}
- DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }}
- DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }}
- IGOT_PUSH_KEY: ${{ secrets.IGOT_PUSH_KEY }}
\ No newline at end of file
diff --git a/.github/workflows/jd_superMarket.yml b/.github/workflows/jd_superMarket.yml
deleted file mode 100644
index f89194c7..00000000
--- a/.github/workflows/jd_superMarket.yml
+++ /dev/null
@@ -1,55 +0,0 @@
-# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
-# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
-
-name: jd_superMarket
-
-on:
- workflow_dispatch:
- schedule:
- - cron: '15 * * * *'
- watch:
- types: started
- repository_dispatch:
- types: superMarket
-jobs:
- build:
-
- runs-on: ubuntu-latest
- if: github.event.repository.owner.id == github.event.sender.id
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- repository: lxk0301/scripts
- - name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v1
- with:
- node-version: ${{ matrix.node-version }}
- - name: Cache node_modules
- uses: actions/cache@v2 # 使用 GitHub 官方的缓存 Action。
- env:
- cache-name: cache-node-modules
- with:
- path: node_modules
- key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }} # 使用 package-lock.json 的 Hash 作为缓存的 key。也可以使用 package.json 代替
- - name: npm install
- run: |
- npm install
- - name: '运行 【京小超】'
- run: |
- node jd_superMarket.js
- env:
- JD_COOKIE: ${{ secrets.JD_COOKIE }}
- JD_DEBUG: ${{ secrets.JD_DEBUG }}
- PUSH_KEY: ${{ secrets.PUSH_KEY }}
- BARK_PUSH: ${{ secrets.BARK_PUSH }}
- TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
- TG_USER_ID: ${{ secrets.TG_USER_ID }}
- BARK_SOUND: ${{ secrets.BARK_SOUND }}
- DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }}
- DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }}
- IGOT_PUSH_KEY: ${{ secrets.IGOT_PUSH_KEY }}
- jdSuperMarketUpgrade: ${{ secrets.SUPERMARKET_UPGRADE }}
- jdBusinessCircleJump: ${{ secrets.BUSINESS_CIRCLE_JUMP }}
- SUPERMARKET_SHARECODES: ${{ secrets.SUPERMARKET_SHARECODES }}
- jdSuperMarketLottery: ${{ secrets.SUPERMARKET_LOTTERY }}
\ No newline at end of file
diff --git a/.github/workflows/jd_unsubscribe.yml b/.github/workflows/jd_unsubscribe.yml
deleted file mode 100644
index 0eb5cb7a..00000000
--- a/.github/workflows/jd_unsubscribe.yml
+++ /dev/null
@@ -1,52 +0,0 @@
-# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
-# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
-
-name: jd_unsubscribe
-
-on:
- workflow_dispatch:
- schedule:
- - cron: '45 15 * * *'
- watch:
- types: started
- repository_dispatch:
- types: unsubscribe
-jobs:
- build:
-
- runs-on: ubuntu-latest
- if: github.event.repository.owner.id == github.event.sender.id
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- repository: lxk0301/scripts
- - name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v1
- with:
- node-version: ${{ matrix.node-version }}
- - name: Cache node_modules
- uses: actions/cache@v2 # 使用 GitHub 官方的缓存 Action。
- env:
- cache-name: cache-node-modules
- with:
- path: node_modules
- key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }} # 使用 package-lock.json 的 Hash 作为缓存的 key。也可以使用 package.json 代替
- - name: npm install
- run: |
- npm install
- - name: '运行 【京东取关商品】'
- run: |
- node jd_unsubscribe.js
- env:
- JD_COOKIE: ${{ secrets.JD_COOKIE }}
- JD_DEBUG: ${{ secrets.JD_DEBUG }}
- UN_SUBSCRIBES: ${{ secrets.UN_SUBSCRIBES }}
- PUSH_KEY: ${{ secrets.PUSH_KEY }}
- BARK_PUSH: ${{ secrets.BARK_PUSH }}
- TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
- TG_USER_ID: ${{ secrets.TG_USER_ID }}
- BARK_SOUND: ${{ secrets.BARK_SOUND }}
- DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }}
- DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }}
- IGOT_PUSH_KEY: ${{ secrets.IGOT_PUSH_KEY }}
diff --git a/.github/workflows/jd_xtg.yml b/.github/workflows/jd_xtg.yml
deleted file mode 100644
index 496532ff..00000000
--- a/.github/workflows/jd_xtg.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
-# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
-
-name: jd_xtg
-
-on:
- workflow_dispatch:
- schedule:
- - cron: '0 16 * * *' #北京时间0点运行,action会有延迟
- watch:
- types: started
- repository_dispatch:
- types: xtg
-jobs:
- build:
-
- runs-on: ubuntu-latest
- if: github.event.repository.owner.id == github.event.sender.id
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- repository: lxk0301/scripts
- - name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v1
- with:
- node-version: ${{ matrix.node-version }}
- - name: Cache node_modules
- uses: actions/cache@v2 # 使用 GitHub 官方的缓存 Action。
- env:
- cache-name: cache-node-modules
- with:
- path: node_modules
- key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }} # 使用 package-lock.json 的 Hash 作为缓存的 key。也可以使用 package.json 代替
- - name: npm install
- run: |
- npm install
- - name: '运行 【星推官脚本】'
- run: |
- node jd_xtg.js
- env:
- JD_COOKIE: ${{ secrets.JD_COOKIE }}
- JD_DEBUG: ${{ secrets.JD_DEBUG }}
- PUSH_KEY: ${{ secrets.PUSH_KEY }}
- BARK_PUSH: ${{ secrets.BARK_PUSH }}
- BARK_SOUND: ${{ secrets.BARK_SOUND }}
- TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
- TG_USER_ID: ${{ secrets.TG_USER_ID }}
- DD_BOT_TOKEN: ${{ secrets.DD_BOT_TOKEN }}
- DD_BOT_SECRET: ${{ secrets.DD_BOT_SECRET }}
- IGOT_PUSH_KEY: ${{ secrets.IGOT_PUSH_KEY }}
diff --git a/.github/workflows/repo_sync.yml b/.github/workflows/repo_sync.yml
index 09d31558..987cfcda 100644
--- a/.github/workflows/repo_sync.yml
+++ b/.github/workflows/repo_sync.yml
@@ -14,7 +14,7 @@ jobs:
repo-sync:
env:
PAT: ${{ secrets.PAT }} #此处PAT需要申请,教程详见:https://www.jianshu.com/p/bb82b3ad1d11
- dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
+ dst_key: ${{ secrets.GITEE_PRIVATE_KEY }} # 我自己同步到gitee使用,其他人可忽略
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@@ -25,7 +25,7 @@ jobs:
uses: repo-sync/github-sync@v2
if: env.PAT
with:
- source_repo: "https://github.com/lxk0301/scripts.git"
+ source_repo: "https://github.com/lxk0301/jd_scripts.git"
source_branch: "master"
destination_branch: "master"
github_token: ${{ secrets.PAT }}
@@ -36,6 +36,6 @@ jobs:
with:
src: github/lxk0301
dst: gitee/lxk0301
- static_list: "scripts"
+ static_list: "jd_scripts"
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
dst_token: ${{ secrets.GITEE_TOKEN }}
diff --git a/JD_extra_cookie.js b/JD_extra_cookie.js
index 2b33d046..10fbcae8 100644
--- a/JD_extra_cookie.js
+++ b/JD_extra_cookie.js
@@ -22,13 +22,13 @@ hostname = wq.jd.com
【Surge脚本配置】:
===================
[Script]
-获取京东Cookie = type=http-request,pattern=^https:\/\/wq\.jd\.com\/user_new\/info\/GetJDUserInfoUnion,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/JD_extra_cookie.js,script-update-interval=0
+获取京东Cookie = type=http-request,pattern=^https:\/\/wq\.jd\.com\/user_new\/info\/GetJDUserInfoUnion,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/JD_extra_cookie.js,script-update-interval=0
===================
【Loon脚本配置】:
===================
[Script]
-http-request https:\/\/wq\.jd\.com\/user_new\/info\/GetJDUserInfoUnion tag=获取京东Cookie, script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/JD_extra_cookie.js
+http-request https:\/\/wq\.jd\.com\/user_new\/info\/GetJDUserInfoUnion tag=获取京东Cookie, script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/JD_extra_cookie.js
===================
@@ -36,7 +36,7 @@ http-request https:\/\/wq\.jd\.com\/user_new\/info\/GetJDUserInfoUnion tag=获
===================
[rewrite_local]
-https:\/\/wq\.jd\.com\/user_new\/info\/GetJDUserInfoUnion url script-request-header https://raw.githubusercontent.com/lxk0301/scripts/master/JD_extra_cookie.js
+https:\/\/wq\.jd\.com\/user_new\/info\/GetJDUserInfoUnion url script-request-header https://raw.githubusercontent.com/lxk0301/jd_scripts/master/JD_extra_cookie.js
*/
diff --git a/README.md b/README.md
index a6f81e19..c130f502 100644
--- a/README.md
+++ b/README.md
@@ -19,34 +19,34 @@
## Script脚本列表
-1. 京东水果([jd_fruit.js](https://raw.githubusercontent.com/lxk0301/scripts/master/jd_fruit.js))
-2. 东东萌宠([jd_pet.js](https://raw.githubusercontent.com/lxk0301/scripts/master/jd_pet.js))
-4. 种豆得豆([jd_plantBean.js](https://raw.githubusercontent.com/lxk0301/scripts/master/jd_plantBean.js))
-5. 天天加速([jd_speed.js](https://raw.githubusercontent.com/lxk0301/scripts/master/jd_speed.js))
-6. 摇钱树([jd_moneyTree.js](https://raw.githubusercontent.com/lxk0301/scripts/master/jd_moneyTree.js))
-6. 宠汪汪([jd_joy.js](https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy.js))
-7. 宠汪汪偷好友狗粮与积分([jd_joy_steal.js](https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_steal.js))
-8. 宠汪汪单独喂食([jd_joy_feedPets.js](https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_feedPets.js))
-9. 宠汪汪兑换奖品([jd_joy_reward.js](https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_reward.js))
-10. 宠汪汪强制为好友助力(刷好友)([jd_joy_help.js](https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_help.js))
-11. 宠汪汪赛跑助力([jd_joy_run.js](https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_run.js))
-12. 宠汪汪聚宝盆辅助脚本([jd_petTreasureBox.js](https://raw.githubusercontent.com/lxk0301/scripts/master/jd_petTreasureBox.js))
-13. 取关京东店铺和商品([jd_unsubscribe.js](https://raw.githubusercontent.com/lxk0301/scripts/master/jd_unsubscribe.js))
-14. 京小超([jd_superMarket.js](https://raw.githubusercontent.com/lxk0301/scripts/master/jd_superMarket.js))
-15. 京小超兑换奖品([jd_blueCoin.js](https://raw.githubusercontent.com/lxk0301/scripts/master/jd_blueCoin.js))
-16. 进店领豆([jd_shop.js](https://raw.githubusercontent.com/lxk0301/scripts/master/jd_shop.js))
-17. 摇京豆([jd_club_lottery.js](https://raw.githubusercontent.com/lxk0301/scripts/master/jd_club_lottery.js))
-18. 全名开红包([jd_redPacket.js](https://raw.githubusercontent.com/lxk0301/scripts/master/jd_redPacket.js))
-19. 京东多合一签到([jd_bean_sign.js](https://raw.githubusercontent.com/lxk0301/scripts/master/jd_bean_sign.js)) 【可N个京东账号,Node.js专用,核心脚本是JD_DailyBonus.js, IOS软件用户请使用NobyDa的 [JD_DailyBonus.js](https://raw.githubusercontent.com/NobyDa/Script/master/JD-DailyBonus/JD_DailyBonus.js) 】
-20. 京豆变动通知([jd_bean_change.js](https://raw.githubusercontent.com/lxk0301/scripts/master/jd_bean_change.js))
-21. 以及其他一部分在特定时间可用的薅京豆脚本,如 [手机狂欢城](https://raw.githubusercontent.com/lxk0301/scripts/master/jd_818.js) 、[星推官](https://raw.githubusercontent.com/lxk0301/scripts/master/jd_xtg.js) 等。
+1. 京东水果([jd_fruit.js](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_fruit.js))
+2. 东东萌宠([jd_pet.js](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_pet.js))
+4. 种豆得豆([jd_plantBean.js](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_plantBean.js))
+5. 天天加速([jd_speed.js](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_speed.js))
+6. 摇钱树([jd_moneyTree.js](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_moneyTree.js))
+6. 宠汪汪([jd_joy.js](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy.js))
+7. 宠汪汪偷好友狗粮与积分([jd_joy_steal.js](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_steal.js))
+8. 宠汪汪单独喂食([jd_joy_feedPets.js](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_feedPets.js))
+9. 宠汪汪兑换奖品([jd_joy_reward.js](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_reward.js))
+10. 宠汪汪强制为好友助力(刷好友)([jd_joy_help.js](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_help.js))
+11. 宠汪汪赛跑助力([jd_joy_run.js](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_run.js))
+12. 宠汪汪聚宝盆辅助脚本([jd_petTreasureBox.js](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_petTreasureBox.js))
+13. 取关京东店铺和商品([jd_unsubscribe.js](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_unsubscribe.js))
+14. 京小超([jd_superMarket.js](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_superMarket.js))
+15. 京小超兑换奖品([jd_blueCoin.js](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_blueCoin.js))
+16. 进店领豆([jd_shop.js](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_shop.js))
+17. 摇京豆([jd_club_lottery.js](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_club_lottery.js))
+18. 全名开红包([jd_redPacket.js](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_redPacket.js))
+19. 京东多合一签到([jd_bean_sign.js](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_bean_sign.js)) 【可N个京东账号,Node.js专用,核心脚本是JD_DailyBonus.js, IOS软件用户请使用NobyDa的 [JD_DailyBonus.js](https://raw.githubusercontent.com/NobyDa/Script/master/JD-DailyBonus/JD_DailyBonus.js) 】
+20. 京豆变动通知([jd_bean_change.js](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_bean_change.js))
+21. 以及其他一部分在特定时间可用的薅京豆脚本,如 [手机狂欢城](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_818.js) 、[星推官](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_xtg.js) 等。
**脚本兼容: [QuantumultX](https://apps.apple.com/us/app/quantumult-x/id1443988620), [Surge](https://apps.apple.com/us/app/surge-4/id1442620678), [Loon](https://apps.apple.com/us/app/loon/id1373567447), 小火箭, JSBox, Node.js**
**TODO**
-- [x] 完善京小超脚本[jd_superMarket.js](https://raw.githubusercontent.com/lxk0301/scripts/master/jd_superMarket.js)
-- [x] 京小超商圈助力功能[jd_superMarket.js](https://raw.githubusercontent.com/lxk0301/scripts/master/jd_superMarket.js)
+- [x] 完善京小超脚本[jd_superMarket.js](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_superMarket.js)
+- [x] 京小超商圈助力功能[jd_superMarket.js](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_superMarket.js)
## 食用方法
@@ -59,30 +59,24 @@
- 需自行有云服务器,云函数等
- 腾云云函数使用 [教程说明](iCloud.md)
-
-### 方法三:GitHub Action(推荐)
-
- - 使用教程看 [GitHub Action教程](githubAction.md)
- - GitHub Action 定时运行会有延迟(大概15分钟左右),故一些需要抢购(对时间要求比较严格)脚本不适合使用(例如`jd_joy_reward.js`, `jd_blueCoin.js`, `jd_xtg.js`等脚本)
- - GitHub Action需要用到的[Secrets集合](https://github.com/lxk0301/scripts/blob/master/githubAction.md#%E4%B8%8B%E6%96%B9%E6%8F%90%E4%BE%9B%E4%BD%BF%E7%94%A8%E5%88%B0%E7%9A%84-secrets%E5%85%A8%E9%9B%86%E5%90%88)
+
-### 方法四:Docker(NAS或VPS用户)
+### 方法三:Docker(NAS或VPS用户)
- - 可以精确控制任务运行时间,有三种办法:[docker办法一](https://github.com/lxk0301/scripts/tree/master/docker)、[docker办法二(和本地安装Node.js有点类似)](https://github.com/EvineDeng/jd-base)、[docker办法三](https://github.com/chinnkarahoi/jd-scripts-docker)
- - [环境变量](https://github.com/lxk0301/scripts/blob/master/githubAction.md#%E4%B8%8B%E6%96%B9%E6%8F%90%E4%BE%9B%E4%BD%BF%E7%94%A8%E5%88%B0%E7%9A%84-secrets%E5%85%A8%E9%9B%86%E5%90%88)
+ - 可以精确控制任务运行时间,有三种办法:[docker办法一](https://github.com/lxk0301/jd_scripts/tree/master/docker)、[docker办法二(和本地安装Node.js有点类似)](https://github.com/EvineDeng/jd-base)、[docker办法三](https://github.com/chinnkarahoi/jd-scripts-docker)
+ - [环境变量](https://github.com/lxk0301/jd_scripts/blob/master/githubAction.md#%E4%B8%8B%E6%96%B9%E6%8F%90%E4%BE%9B%E4%BD%BF%E7%94%A8%E5%88%B0%E7%9A%84-secrets%E5%85%A8%E9%9B%86%E5%90%88)
-#### 注:以上四种运行机制都是Node.js,故您需仔细阅读下面几点
+#### 注:以上三种运行机制都是Node.js,故您需仔细阅读下面几点
- - 如果使用方法一与方法二,需自行提供京东cookie填写到 [jdCookie.js](https://github.com/lxk0301/scripts/blob/master/jdCookie.js) 里面
+ - 如果使用方法一与方法二,需自行提供京东cookie填写到 [jdCookie.js](https://github.com/lxk0301/jd_scripts/blob/master/jdCookie.js) 里面
- - 方法三京东cookie不要!不要!不要!填写到 [jdCookie.js](https://github.com/lxk0301/scripts/blob/master/jdCookie.js) 里面
- - 获取京东cookie教程可参考 [浏览器获取京东cookie教程](https://github.com/lxk0301/scripts/blob/master/backUp/GetJdCookie.md) , [插件获取京东cookie教程](https://github.com/lxk0301/scripts/blob/master/backUp/GetJdCookie2.md)
+ - 获取京东cookie教程可参考 [浏览器获取京东cookie教程](https://github.com/lxk0301/jd_scripts/blob/master/backUp/GetJdCookie.md) , [插件获取京东cookie教程](https://github.com/lxk0301/jd_scripts/blob/master/backUp/GetJdCookie2.md)
- - 方法四Docker安装Cookie请见各自的说明。
+ - 方法三Docker安装Cookie请见各自的说明。
-### 方法五:iOS系统的代理软件(QuantumultX, Surge, Loon, 小火箭)
+### 方法四:iOS系统的代理软件(QuantumultX, Surge, Loon, 小火箭)
#### 以下内容只针对iOS用户
@@ -90,7 +84,7 @@
##### BoxJs简单说明可看作者[BoxJs仓库地址](https://github.com/chavyleung/scripts/)
-使用box可以实现远程订阅助力好友(需订阅此 [链接](https://raw.githubusercontent.com/lxk0301/scripts/master/lxk0301.boxjs.json))
+使用box可以实现远程订阅助力好友(需订阅此 [链接](https://raw.githubusercontent.com/lxk0301/jd_scripts/master/lxk0301.boxjs.json))
- [BoxJs使用教程](https://chavyleung.gitbook.io/boxjs/)
@@ -106,7 +100,7 @@
3、box可以支持多账号
### 赞赏码(开发维护不易,请赏杯茶水费)
-

+
### 特别感谢(排名不分先后):
* [@NobyDa](https://github.com/NobyDa)
diff --git a/backUp/jd_fruit_double.js b/backUp/jd_fruit_double.js
index 1fb8b18a..0472184c 100644
--- a/backUp/jd_fruit_double.js
+++ b/backUp/jd_fruit_double.js
@@ -5,12 +5,12 @@ jd免费水果 搬的https://github.com/liuxiaoyucc/jd-helper/blob/a6f275d978574
// quantumultx
[task_local]
#jd免费水果
-5 6-18/6 * * * https://raw.githubusercontent.com/lxk0301/scripts/master/jd_fruit.js, tag=东东农场, img-url=https://raw.githubusercontent.com/znz1992/Gallery/master/jdsg.png, enabled=true
+5 6-18/6 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_fruit.js, tag=东东农场, img-url=https://raw.githubusercontent.com/znz1992/Gallery/master/jdsg.png, enabled=true
// Loon
[Script]
-cron "5 6-18/6 * * *" script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_fruit.js,tag=东东农场
+cron "5 6-18/6 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_fruit.js,tag=东东农场
// Surge
-// 宠汪汪偷好友积分与狗粮 = type=cron,cronexp="5 6-18/6 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_steal.js
+// 宠汪汪偷好友积分与狗粮 = type=cron,cronexp="5 6-18/6 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_steal.js
互助码shareCode请先手动运行脚本查看打印可看到
一天只能帮助4个人。多出的助力码无效
注:如果使用Node.js, 需自行安装'crypto-js,got,http-server,tough-cookie'模块. 例: npm install crypto-js http-server tough-cookie got --save
diff --git a/backUp/jd_joy2.js b/backUp/jd_joy2.js
index 477e15cd..de114a48 100644
--- a/backUp/jd_joy2.js
+++ b/backUp/jd_joy2.js
@@ -9,10 +9,10 @@ Combine from Zero-S1/JD_tools(https://github.com/Zero-S1/JD_tools)
// quantumultx
// [task_local]
// #京东宠汪汪
-// 15 1,2 * * * https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy.js, tag=京东宠汪汪, img-url=https://raw.githubusercontent.com/znz1992/Gallery/master/jdww.png, enabled=true
+// 15 1,2 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy.js, tag=京东宠汪汪, img-url=https://raw.githubusercontent.com/znz1992/Gallery/master/jdww.png, enabled=true
// Loon
// [Script]
-// cron "15 1,2 * * *" script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy.js,tag=京东宠汪汪
+// cron "15 1,2 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy.js,tag=京东宠汪汪
const name = '京东宠汪汪';
const $ = new Env(name);
const notify = $.isNode() ? require('./sendNotify') : '';
diff --git a/backUp/jd_joy_help2.js b/backUp/jd_joy_help2.js
index 2a56340e..e908adf7 100644
--- a/backUp/jd_joy_help2.js
+++ b/backUp/jd_joy_help2.js
@@ -1,6 +1,6 @@
/**
宠汪汪强制为别人助力(助力一个好友你自己可以获得30积分,一天上限是帮助3个好友,自己获得90积分,不管助力是否成功,对方都会成为你的好友)
-更新地址:https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_help.js
+更新地址:https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_help.js
更新时间:2020-08-28
目前提供了304位好友的friendPin供使用。脚本随机从里面获取一个,助力成功后,退出小程序重新点击进去开始助力新的好友
欢迎大家使用 https://jdjoy.jd.com/pet/getFriends?itemsPerPage=20¤tPage=1 (currentPage=1表示第一页好友,=2表示第二页好友)
@@ -15,15 +15,15 @@
hostname = draw.jdfcloud.com
surge
[Script]
-宠汪汪强制为别人助力= type=http-request,pattern=(^https:\/\/draw\.jdfcloud\.com\/\/pet\/enterRoom\?reqSource=weapp&invitePin=.*+(&inviteSource=task_invite&shareSource=\w+&inviteTimeStamp=\d+&openId=\w+)?|^https:\/\/draw\.jdfcloud\.com\/\/pet\/helpFriend\?friendPin),requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_help.js
+宠汪汪强制为别人助力= type=http-request,pattern=(^https:\/\/draw\.jdfcloud\.com\/\/pet\/enterRoom\?reqSource=weapp&invitePin=.*+(&inviteSource=task_invite&shareSource=\w+&inviteTimeStamp=\d+&openId=\w+)?|^https:\/\/draw\.jdfcloud\.com\/\/pet\/helpFriend\?friendPin),requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_help.js
圈x
[rewrite_local]
-^https:\/\/draw\.jdfcloud\.com\/\/pet\/enterRoom\?reqSource=weapp&invitePin=.*+(&inviteSource=task_invite&shareSource=\w+&inviteTimeStamp=\d+&openId=\w+)?|^https:\/\/draw\.jdfcloud\.com\/\/pet\/helpFriend\?friendPin url script-request-header https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_help.js
+^https:\/\/draw\.jdfcloud\.com\/\/pet\/enterRoom\?reqSource=weapp&invitePin=.*+(&inviteSource=task_invite&shareSource=\w+&inviteTimeStamp=\d+&openId=\w+)?|^https:\/\/draw\.jdfcloud\.com\/\/pet\/helpFriend\?friendPin url script-request-header https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_help.js
LOON:
[Script]
-http-request ^https:\/\/draw\.jdfcloud\.com\/\/pet\/enterRoom\?reqSource=weapp&invitePin=.*+(&inviteSource=task_invite&shareSource=\w+&inviteTimeStamp=\d+&openId=\w+)?|^https:\/\/draw\.jdfcloud\.com\/\/pet\/helpFriend\?friendPin script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_help.js
+http-request ^https:\/\/draw\.jdfcloud\.com\/\/pet\/enterRoom\?reqSource=weapp&invitePin=.*+(&inviteSource=task_invite&shareSource=\w+&inviteTimeStamp=\d+&openId=\w+)?|^https:\/\/draw\.jdfcloud\.com\/\/pet\/helpFriend\?friendPin script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_help.js
, requires-body=true, timeout=10, tag=宠汪汪强制为别人助力
diff --git a/backUp/jd_moneyTree2.js b/backUp/jd_moneyTree2.js
index dbd96fca..236beeeb 100644
--- a/backUp/jd_moneyTree2.js
+++ b/backUp/jd_moneyTree2.js
@@ -1,15 +1,15 @@
/*
-京东摇钱树 :https://gitee.com/lxk0301/scripts/raw/master/jd_moneyTree.js
+京东摇钱树 :https://gitee.com/lxk0301/jd_scripts/raw/master/jd_moneyTree.js
更新时间:2020-07-22
注:如果使用Node.js, 需自行安装'crypto-js,got,http-server,tough-cookie'模块. 例: npm install crypto-js http-server tough-cookie got --save
*/
// quantumultx
// [task_local]
// #京东摇钱树
-// 3 */2 * * * https://gitee.com/lxk0301/scripts/raw/master/jd_moneyTree.js, tag=京东摇钱树, img-url=https://raw.githubusercontent.com/znz1992/Gallery/master/moneyTree.png, enabled=true
+// 3 */2 * * * https://gitee.com/lxk0301/jd_scripts/raw/master/jd_moneyTree.js, tag=京东摇钱树, img-url=https://raw.githubusercontent.com/znz1992/Gallery/master/moneyTree.png, enabled=true
// Loon
// [Script]
-// cron "3 */2 * * *" script-path=https://gitee.com/lxk0301/scripts/raw/master/jd_moneyTree.js,tag=京东摇钱树
+// cron "3 */2 * * *" script-path=https://gitee.com/lxk0301/jd_scripts/raw/master/jd_moneyTree.js,tag=京东摇钱树
const Notice = 2;//设置运行多少次才通知。
const name = '京东摇钱树';
const $ = new Env(name);
diff --git a/backUp/jd_plantBean_double.js b/backUp/jd_plantBean_double.js
index 503a6a54..892a4b5a 100644
--- a/backUp/jd_plantBean_double.js
+++ b/backUp/jd_plantBean_double.js
@@ -7,12 +7,12 @@
互助码shareCode请先手动运行脚本查看打印可看到
// quantumultx
[task_local]
-1 7-21/2 * * * https://raw.githubusercontent.com/lxk0301/scripts/master/jd_plantBean.js, tag=种豆得豆, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdzd.png, enabled=true
+1 7-21/2 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_plantBean.js, tag=种豆得豆, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdzd.png, enabled=true
// Loon
[Script]
-cron "1 7-21/2 * * *" script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_plantBean.js,tag=京东种豆得豆
+cron "1 7-21/2 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_plantBean.js,tag=京东种豆得豆
// Surge
-// 京东种豆得豆 = type=cron,cronexp="1 7-21/2 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_steal.js
+// 京东种豆得豆 = type=cron,cronexp="1 7-21/2 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_steal.js
一天只能帮助3个人。多出的助力码无效
注:如果使用Node.js, 需自行安装'crypto-js,got,http-server,tough-cookie'模块. 例: npm install crypto-js http-server tough-cookie got --save
*/
diff --git a/backUp/jd_speed2.js b/backUp/jd_speed2.js
index 04baaae2..f79783c3 100644
--- a/backUp/jd_speed2.js
+++ b/backUp/jd_speed2.js
@@ -1,5 +1,5 @@
/*
-京东天天加速活动 国内gitee链接:https://gitee.com/lxk0301/scripts/raw/master/jd_speed.js
+京东天天加速活动 国内gitee链接:https://gitee.com/lxk0301/jd_scripts/raw/master/jd_speed.js
更新时间:2020-08-15
每天4京豆,再小的苍蝇也是肉
从 https://github.com/Zero-S1/JD_tools/blob/master/JD_speed.py 改写来的
@@ -9,10 +9,10 @@
// quantumultx
// [task_local]
// #天天加速
-// 8 */3 * * * https://gitee.com/lxk0301/scripts/raw/master/jd_speed.js, tag=京东天天加速, img-url=https://raw.githubusercontent.com/znz1992/Gallery/master/jdttjs.png, enabled=true
+// 8 */3 * * * https://gitee.com/lxk0301/jd_scripts/raw/master/jd_speed.js, tag=京东天天加速, img-url=https://raw.githubusercontent.com/znz1992/Gallery/master/jdttjs.png, enabled=true
// Loon
// [Script]
-// cron "8 */3 * * *" script-path=https://gitee.com/lxk0301/scripts/raw/master/jd_speed.js,tag=京东天天加速
+// cron "8 */3 * * *" script-path=https://gitee.com/lxk0301/jd_scripts/raw/master/jd_speed.js,tag=京东天天加速
const name = '天天加速';
const $ = new Env(name);
const Key = '';//单引号内自行填写您抓取的京东Cookie
diff --git a/backUp/xmSports.js b/backUp/xmSports.js
index ff55b8c8..16ffd1b3 100644
--- a/backUp/xmSports.js
+++ b/backUp/xmSports.js
@@ -14,19 +14,19 @@ APP Store下载小米运动APP
hostname = account.huami.com
Surge
[Script]
-小米运动 = type=cron,cronexp="15 17 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/backUp/xmSports.js
-小米运动获取Token = type=http-response,pattern=^https:\/\/account\.huami\.com\/v2\/client\/login, requires-body=1, max-size=0, script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/backUp/xmSports.js
+小米运动 = type=cron,cronexp="15 17 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/backUp/xmSports.js
+小米运动获取Token = type=http-response,pattern=^https:\/\/account\.huami\.com\/v2\/client\/login, requires-body=1, max-size=0, script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/backUp/xmSports.js
圈X
[task_local]
# 小米运动
-15 17 * * * https://raw.githubusercontent.com/lxk0301/scripts/master/backUp/xmSports.js, tag=小米运动, enabled=true
+15 17 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/backUp/xmSports.js, tag=小米运动, enabled=true
[rewrite_local]
# 小米运动获取Token
-^https:\/\/account\.huami\.com\/v2\/client\/login url script-response-body https://raw.githubusercontent.com/lxk0301/scripts/master/backUp/xmSports.js
+^https:\/\/account\.huami\.com\/v2\/client\/login url script-response-body https://raw.githubusercontent.com/lxk0301/jd_scripts/master/backUp/xmSports.js
Loon
[Script]
-cron "15 17 * * *" script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/backUp/xmSports.js, tag=小米运动
-http-response ^https:\/\/account\.huami\.com\/v2\/client\/login script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/backUp/xmSports.js, requires-body=true, timeout=10, tag=小米运动获取Token
+cron "15 17 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/backUp/xmSports.js, tag=小米运动
+http-response ^https:\/\/account\.huami\.com\/v2\/client\/login script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/backUp/xmSports.js, requires-body=true, timeout=10, tag=小米运动获取Token
*/
const $ = new Env('小米运动');
diff --git a/backUp/xmly_speed_ccokie.js b/backUp/xmly_speed_ccokie.js
index d9a5699c..3a707bfb 100644
--- a/backUp/xmly_speed_ccokie.js
+++ b/backUp/xmly_speed_ccokie.js
@@ -5,14 +5,14 @@
[MITM]
hostname = m.ximalaya.com
Surge
- 喜马拉雅极速版Cookie = type=http-request,pattern=https:\/\/m\.ximalaya\.com\/speed\/task-center\/account\/coin,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/backUp/xmly_speed_ccokie.js
+ 喜马拉雅极速版Cookie = type=http-request,pattern=https:\/\/m\.ximalaya\.com\/speed\/task-center\/account\/coin,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/backUp/xmly_speed_ccokie.js
Loon:
- http-request https:\/\/m\.ximalaya\.com\/speed\/task-center\/account\/coin script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/backUp/xmly_speed_ccokie.js
+ http-request https:\/\/m\.ximalaya\.com\/speed\/task-center\/account\/coin script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/backUp/xmly_speed_ccokie.js
, requires-body=true, timeout=10, tag=喜马拉雅极速版Cookie
QX:
[rewrite_local]
# 喜马拉雅极速版Cookie
- https:\/\/m\.ximalaya\.com\/speed\/task-center\/account\/coin url script-request-header https://raw.githubusercontent.com/lxk0301/scripts/master/backUp/xmly_speed_ccokie.js
+ https:\/\/m\.ximalaya\.com\/speed\/task-center\/account\/coin url script-request-header https://raw.githubusercontent.com/lxk0301/jd_scripts/master/backUp/xmly_speed_ccokie.js
*/
const $ = new Env('喜马拉雅极速版获取cookie')
diff --git a/githubAction.md b/githubAction.md
deleted file mode 100644
index 2d733716..00000000
--- a/githubAction.md
+++ /dev/null
@@ -1,220 +0,0 @@
-## Github Action使用教程说明
- - Fork [此仓库项目](https://github.com/lxk0301/scripts) > 点击右上角fork按钮即可, [再不会可看此图](icon/fork.png)
-
- - 然后参考github@ruicky写的特别详细的小白教程[@ruicky教程](https://ruicky.me/2020/06/05/jd-sign/) (**注:此 [@ruicky教程](https://ruicky.me/2020/06/05/jd-sign/) 里面获取ck的方法不对。参考下面两种获取京东cookie的方式才对.**)
-
-
-
-### 注意几个地方就行
-
-
-
-#### **fork后必须修改一下文件,才能执行定时任务**
- - 比如修改一下`README.md`文件(enter键回车),再提交
- - 不知怎么修改README.md文件的看[这个图](icon/action3.png);
-
-
-
-
-#### 京东Cookie
-
- - Secret新增`JD_COOKIE`,填入cookie信息,多账号的cookie, 使用`&`或者换行隔开(两种方法)
-
- - 方式已一:`&`号隔开示例(注:后面的英文引号`;`不可缺失)
- 如 `账号一cookie&账号二cookie&账号三cookie`,再多账号就依次类推即可
- ```
- pt_key=xxx1;pt_pin=xxx1;&pt_key=xxx2;pt_pin=xxx2;&pt_key=xxx3;pt_pin=xxx3;
- ```
- - 方式二:按`Enter`键换行隔开示例(这里给下三个账号的示例)
- ```
- pt_key=bbbbbbbbbbbbbb;pt_pin=aaaaaaa;
- pt_key=cccccccc;pt_pin=dddddddd;
- pt_key=eeeeeeeee;pt_pin=ffffffff;
- ```
- - 京东cookie获取看这里
- - [浏览器获取京东cookie教程](https://github.com/lxk0301/scripts/blob/master/backUp/GetJdCookie.md) 或者 [插件获取京东cookie教程](https://github.com/lxk0301/scripts/blob/master/backUp/GetJdCookie2.md)
- - IOS代理软件(Surge, Quantumult X, Loon)等用户有使用过BoxJs的,可在BoxJs里面提取京东cookie(打开BoxJs -> 底部中间的 `应用` -> NobyDa脚本订阅 -> 京东(多合一签到) -> 点击会话右上方的三个点点 -> 修改会话 -> 全选复制即可),再不会看此[图文教程](icon/jd8.png)
-
-
-#### Action里面cron时间
-
- - 此时间是国际标准时间,与北京时间不同,github action写16点才表示北京时间0点,具体可参考下面两个链接写cron
-
- - [参考链接一](https://datetime360.com/cn/utc-beijing-time/) , [参考链接二](http://www.timebie.com/cn/universalbeijing.php)
-
- - 根据使用经验发现github action 会有延迟现象,一般会延迟15分钟左右吧。比如action设置`北京时间16:00`运行,action其实要`16:15左右`才会执行脚本的。
-
-
-
-#### 如何查看Action运行情况
-
- - [查看运行状态](https://raw.githubusercontent.com/lxk0301/scripts/master/icon/action1.png)
-
- - [查看运行日志](https://raw.githubusercontent.com/lxk0301/scripts/master/icon/action2.png)
-
-
-
-#### 如何禁用单个或者多个脚本(Action)
-
- - 操作步骤[看此图](./icon/disable-action.jpg)
-
-
-
-#### Fork后Action未运行
-
- > 是因为`/.github/workflows/`路径里面的`.yml`后缀文件里面的cron时间未到,如需立马看到效果
-
- - 方法:在自己仓库,手动点击仓库的右上角`star图标按钮`即可,稍后就能看到运行
- - 注:之后如果想单独运行某一个脚本(此处的前提条件是执行过上面的方法),手动点击 Run workflow [根据此图片示例操作](https://user-images.githubusercontent.com/21308593/93980945-e28ab000-fdb1-11ea-977c-c50705e79ac3.png) ,再次点一下`Actions`图标即可看到效果(或者等待10秒左右也可)
-
-
-
-#### 自动同步Fork后的代码
-
- > 此部分内容由tg@wukongdada和tg@goukey提供
-
- - 方案A - 强制远程分支覆盖自己的分支(**新手推荐使用**)
-
- 1. 参考tg@wukongdada这篇教程 [保持自己github的forks自动和上游仓库同步的教程](https://github.com/lxk0301/scripts/blob/master/backUp/gitSync.md) , 安装[pull插件](https://github.com/apps/pull) 并确认此项目已在pull插件的作用下(参考@twukongdada这篇教程文中1-d)
-
- 2. 确保.github/pull.yml文件正常存在,yml内上游作者填写正确(此项目已填好,无需更改)。
-
- 3. 确保pull.yml里面是`mergeMethod: hardreset`(默认就是`hardreset`)。
-
- 4. ENJOY!上游更改三小时左右就会自动发起同步。
- ```
- # 方案A可参考这里
- version: "1"
- rules: # Array of rules
- - base: master # Required. Target branch
- upstream: lxk0301:master # Required. Must be in the same fork network.
- mergeMethod: hardreset # Optional, one of [none, merge, squash, rebase, hardreset], Default: none.
- mergeUnstable: true # Optional, merge pull request even when the mergeable_state is not clean. Default: false
- ```
- - 方案B - 保留自己仓库已修改过的文件(**需修改脚本或者提PR的使用**)
-
- > 上游变动后pull插件会自动发起pr,但如果有冲突需要自行**手动**确认。
- > 如果上游更新涉及workflow里的文件内容改动,需要自行**手动**确认。
-
- 1. 参考tg@wukongdada这篇教程 [保持自己github的forks自动和上游仓库同步的教程](https://github.com/lxk0301/scripts/blob/master/backUp/gitSync.md) , 安装[pull插件](https://github.com/apps/pull) 并确认此项目已在pull插件的作用下(参考@twukongdada这篇教程文中1-d)
- 2. 确保.github/pull.yml文件正常存在,yml内上游作者填写正确(此项目已填好,无需更改)。
- 3. 将pull.yml里面的`mergeMethod: hardreset`修改为`mergeMethod: merge`保存。
- 4. ENJOY!上游更改三小时左右就会自动发起同步。
- ```
- # 方案B可参考这里
- version: "1"
- rules: # Array of rules
- - base: master # Required. Target branch
- upstream: lxk0301:master # Required. Must be in the same fork network.
- mergeMethod: merge # Optional, one of [none, merge, squash, rebase, hardreset], Default: none.
- mergeUnstable: true # Optional, merge pull request even when the mergeable_state is not clean. Default: false
- ```
- - 方案C - 利用github-action定时cron更新同步(**新手推荐使用**)
-
- > 效果和方案A一样(即:强制更新覆盖)
-
- 新建secret,`Name`为`PAT`,填写的`Value`值需要去申请Personal access tokens,申请教程[看此处](https://www.jianshu.com/p/bb82b3ad1d11) 记得勾选`repo`权限就行
-
-
-
-#### 下方提供使用到的 **Secrets全集合**
-
-| Name | 归属 | 属性 | 说明 |
-| :---------------------: | :----------: | --------- | ------------------------------------------------------------ |
-| `JD_COOKIE` | 京东 | 必须 | 京东cookie,多个账号的cookie使用`&`隔开或者换行。具体获取参考[浏览器获取京东cookie教程](https://github.com/lxk0301/scripts/blob/master/backUp/GetJdCookie.md) 或者 [插件获取京东cookie教程](https://github.com/lxk0301/scripts/blob/master/backUp/GetJdCookie2.md) |
-| `JD_BEAN_STOP` | 京东 | 非必须 | 自定义延迟签到,单位毫秒. 默认分批并发无延迟. 延迟作用于每个签到接口, 如填入延迟则切换顺序签到(耗时较长),如需填写建议输入数字`1` |
-| `JD_BEAN_SIGN_STOP_NOTIFY`| 京东 | 非必须 | `jd_bean_sign.js`脚本运行后不推送签到结果通知,默认推送,填`true`表示不发送通知 |
-| `JD_BEAN_SIGN_NOTIFY_SIMPLE`| 京东 | 非必须 | `jd_bean_sign.js`脚本运行后推送签到结果简洁版通知,默认推送全部签到结果,填`true`表示推送简洁通知,[效果图](./icon/bean_sign_simple.jpg) |
-| `JD_DEBUG` | 脚本打印log | 非必须 | 运行脚本时,是否显示log,默认显示。改成false表示不显示,注重隐私的人可以在设置secret -> `Name:JD_DEBUG,Value:false` |
-| `PUSH_KEY` | 微信推送 | 非必须 | cookie失效推送[server酱的微信通知](http://sc.ftqq.com/3.version) |
-| `BARK_PUSH` | [BARK推送](https://apps.apple.com/us/app/bark-customed-notifications/id1403753865) | 非必须 | cookie失效推送BARK这个APP,填写内容是app提供的`设备码`,例如:https://api.day.app/123 ,那么此处的设备码就是`123`,再不懂看 [这个图](icon/bark.jpg) |
-| `BARK_SOUND` | [BARK推送](https://apps.apple.com/us/app/bark-customed-notifications/id1403753865) | 非必须 | bark推送声音设置,例如`choo`,具体值请在`bark`-`推送铃声`-`查看所有铃声` |
-| `TG_BOT_TOKEN` | telegram推送 | 非必须 | tg推送,填写自己申请[@BotFather](https://t.me/BotFather)的Token,如`10xxx4:AAFcqxxxxgER5uw` , [具体教程](https://github.com/lxk0301/scripts/pull/37#issuecomment-692415594) |
-| `TG_USER_ID` | telegram推送 | 非必须 | tg推送,填写[@getuseridbot](https://t.me/getuseridbot)中获取到的纯数字ID, [具体教程](https://github.com/lxk0301/scripts/pull/37#issuecomment-692415594) |
-| `DD_BOT_TOKEN` | 钉钉推送 | 非必须 | 钉钉推送[官方文档](https://ding-doc.dingtalk.com/doc#/serverapi2/qf2nxq) ,只需`https://oapi.dingtalk.com/robot/send?access_token=XXX` 等于符号后面的XXX, 注:如果钉钉推送只填写`DD_BOT_TOKEN`,那么安全设置需勾选`自定义关键词`,内容输入输入`账号`即可,其他安全设置不要勾选 |
-| `DD_BOT_SECRET` | 钉钉推送 | 非必须 | 密钥,机器人安全设置页面,加签一栏下面显示的SEC开头的字符串 , 注:填写了`DD_BOT_TOKEN`和`DD_BOT_SECRET`,钉钉机器人安全设置只需勾选`加签`即可,其他选项不要勾选,再不懂看 [这个图](icon/DD_bot.png) |
-| `IGOT_PUSH_KEY` | iGot推送 | 非必须 | iGot聚合推送,支持多方式推送,确保消息可达。 [参考文档](https://wahao.github.io/Bark-MP-helper ) |
-| `PET_NOTIFY_CONTROL` | 东东萌宠推送开关 | 非必须 | 控制京东萌宠是否静默运行,`false`为否(发送推送通知消息),`true`为是(即:不发送推送通知消息) |
-| `FRUIT_NOTIFY_CONTROL` | 东东农场推送开关 | 非必须 | 控制京东农场是否静默运行,`false`为否(发送推送通知消息),`true`为是(即:不发送推送通知消息) |
-| `JD_JOY_REWARD_NOTIFY` | 宠汪汪兑换京豆推送开关 | 非必须 | 控制jd_joy_reward.js脚本是否静默运行,`false`为否(发送推送通知消息),`true`为是(即:不发送推送通知消息)
-| `JD_818_SHAREID_NOTIFY` | 京东818互助码通知开关 | 非必须 | 控制jd_818.js脚本是否在获取互助码后通知,`true`为是(发送推送通知消息),`false`为否(即:不发送推送通知消息) |
-| `JOY_FEED_COUNT` | 宠汪汪喂食数量 | 非必须 | 控制jd_joy_feedPets.js脚本喂食数量 ,可以填的数字10,20,40,80 , 其他数字不可. |
-| `JOY_HELP_FEED` | 宠汪汪帮好友喂食 | 非必须 | 控制jd_joy_steal.js脚本是否给好友喂食,`false`为否,`true`为是(给好友喂食) |
-| `JOY_RUN_FLAG` | 宠汪汪参加双人赛跑 | 非必须 | 控制jd_joy.js脚本是否参加双人赛跑,`false`为否,`true`为是,脚本默认是`true` |
-| `JD_JOY_REWARD_NAME` | 宠汪汪积分兑换多少京豆 | 非必须 | 目前可填值为`20`或者`500`,脚本默认`20`,`0`表示不兑换京豆 |
-| `MARKET_COIN_TO_BEANS` | 京小超兑换京豆数量 | 非必须 | 控制jd_blueCoin.js兑换京豆数量,可输入值为`20`或者`1000`的数字或者其他商品的名称,例如`碧浪洗衣凝珠` |
-| `MARKET_REWARD_NOTIFY` | 京小超兑换奖品推送开关 | 非必须 | 控制jd_blueCoin.js兑换奖品成功后是否静默运行, `false`为否(发送推送通知消息),`true`为是(即:不发送推送通知消息) |
-| `SUPERMARKET_UPGRADE` | 京小超自动升级 | 非必须 | 自动升级,顺序:解锁升级商品、升级货架,`true`表示自动升级,`false`表示关闭自动升级 |
-| `BUSINESS_CIRCLE_JUMP` | 京小超自动更换商圈 | 非必须 | 小于对方300热力值自动更换商圈队伍,`true`表示运行,`false`表示禁止 |
-| `SUPERMARKET_LOTTERY` | 京小超抽奖 | 非必须 | 每天运行脚本是否使用金币去抽奖,`true`表示抽奖,`false`表示不抽奖 |
-| `FRUIT_BEAN_CARD` | 农场使用水滴换豆卡 | 非必须 | 农场使用水滴换豆卡(如果出现限时活动时100g水换20豆,此时比浇水划算,推荐换豆),`true`表示换豆(不浇水),`false`表示不换豆(继续浇水),脚本默认是浇水 |
-| `UN_SUBSCRIBES` | jd_unsubscribe.js | 非必须 | 共四个参数,换行隔开. 四个参数分别表示`取关商品数量`,`取关店铺数量`,`遇到此商品不再进行取关`, `遇到此店铺不再进行取关`,[具体使用往下看](#取关店铺secret的说明)|
-| `FruitShareCodes` | 东东农场互助码 | 非必须 | 填写规则请看 [jdFruitShareCodes.js](https://github.com/lxk0301/scripts/blob/master/jdFruitShareCodes.js) 或见下方[互助码的填写规则](#互助码的填写规则) |
-| `PETSHARECODES` | 东东萌宠互助码 | 非必须 | 填写规则请看 [jdPetShareCodes.js](https://github.com/lxk0301/scripts/blob/master/jdPetShareCodes.js) 或见下方[互助码的填写规则](#互助码的填写规则) |
-| `PLANT_BEAN_SHARECODES` | 种豆得豆互助码 | 非必须 | 填写规则请看 [jdPlantBeanShareCodes.js](https://github.com/lxk0301/scripts/blob/master/jdPlantBeanShareCodes.js) 或见下方[互助码的填写规则](#互助码的填写规则) |
-| `SUPERMARKET_SHARECODES`| 京小超商圈互助码 | 非必须 | 填写规则请看 [jdSuperMarketShareCodes.js](https://github.com/lxk0301/scripts/blob/master/jdSuperMarketShareCodes.js) 或见下方[互助码的填写规则](#互助码的填写规则) |
-
-
-
-##### 互助码的填写规则
-
- > 互助码如何获取:运行相应脚本后,在日志里面可以找到。(如何查看日志上面有写,详见 如何查看action运行情况)
-
-同一个京东账号的好友互助码用@隔开,不同京东账号互助码用&或者换行隔开,下面给一个文字示例和具体互助码示例说明
-
-两个账号各两个互助码的文字示例:
-
- ```
-京东账号1的shareCode1@京东账号1的shareCode2&京东账号2的shareCode1@京东账号2的shareCode2
- ```
-
- 两个账号各两个互助码的真实示例:
- ```
-0a74407df5df4fa99672a037eec61f7e@dbb21614667246fabcfd9685b6f448f3&6fbd26cc27ac44d6a7fed34092453f77@61ff5c624949454aa88561f2cd721bf6&6fbd26cc27ac44d6a7fed34092453f77@61ff5c624949454aa88561f2cd721bf6
- ```
-
-
-
-#### 取关店铺secret的说明
-
- > secret依次是`取关商品数`,`取关店铺数`,`遇到此商品不再进行取关`,`遇到此店铺不再进行取关`
-
-例如我要取关 `100`个商品,`100`个店铺,商品遇到商品关键字 `iPhone12` 停止取关,店铺遇到 `Apple京东自营旗舰店` 不再取关
-则使用`换行`或者`&`隔开即可,
-下面给出换行隔开示例:
-
- ```
-100
-100
-iPhone12
-Apple京东自营旗舰店
- ```
-
-下面给出`&`符号隔开示例:
- ```
-100&100&iPhone12&Apple京东自营旗舰店
- ```
-
-#### 关于脚本推送通知(微信server酱推送通知,bark app推送通知,telegram机器人推送通知,钉钉机器人推送通知,iGot聚合推送)
-
- > 如果你填写了上面五种推送通知方式中的某一个通知所需secret,那么脚本通知情况如下:
-
- > 目前默认只有jd_fruit.js,jd_pet.js,jd_bean_sign.js,jd_818.js四个脚本每次运行后都通知
-
- ```
-jd_plantBean.js是每周一收集京豆后通知一次,
-jd_joy_reward.js是每次兑换到了京豆通知一次,
-jd_blueCoin.js是每次兑换到了奖品通知一次,
-jd_818.js是每次获取新的互助码会通知一次,以帮助您快速上车,
-其余的脚本平常运行都是不通知,只有在京东cookie失效后,才会推送通知
- ```
- - 如果填写了推送通知所需的secret后,运行上面有通知的脚本,还没收到通知的话,请自行查看action运行日志(如何查看日志教程请看上面的`如何查看action运行情况`),里面会推送通知发送失败的log
-
-
-
-##### 参考文献
-[GitHub Actions 手动触发方式进化史](https://p3terx.com/archives/github-actions-manual-trigger.html)
-
-[GitHub Actions 入门教程](https://p3terx.com/archives/github-actions-started-tutorial.html)
-
-[github@ruicky教程](https://ruicky.me/2020/06/05/jd-sign/)
diff --git a/jd_818.js b/jd_818.js
index 9563049c..0409feba 100644
--- a/jd_818.js
+++ b/jd_818.js
@@ -22,12 +22,12 @@
// quantumultx
[task_local]
#京东手机狂欢城
-1 0-18/6 * * * https://raw.githubusercontent.com/lxk0301/scripts/master/jd_818.js, tag=京东手机狂欢城, enabled=true
+1 0-18/6 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_818.js, tag=京东手机狂欢城, enabled=true
// Loon
[Script]
-cron "1 0-18/6 * * *" script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_818.js,tag=京东手机狂欢城
+cron "1 0-18/6 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_818.js,tag=京东手机狂欢城
// Surge
-京东手机狂欢城 = type=cron,cronexp=1 0-18/6 * * *,wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_818.js
+京东手机狂欢城 = type=cron,cronexp=1 0-18/6 * * *,wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_818.js
*/
const $ = new Env('京东手机狂欢城');
@@ -907,8 +907,8 @@ function TotalBean() {
}
async function showMsg() {
if (Date.now() > new Date(activeEndTime).getTime()) {
- $.msg($.name, '活动已结束', `该活动累计获得京豆:${$.jbeanCount}个\niOS用户请删除此脚本\ngithub action用户请删除.github/workflows/jd_818.yml文件\n如果帮助到您可以点下🌟STAR鼓励我一下,谢谢\n咱江湖再见\nhttps://github.com/lxk0301/scripts`, {"open-url": "https://github.com/lxk0301/scripts"});
- if ($.isNode()) await notify.sendNotify($.name + '活动已结束', `请删除此脚本\ngithub action用户请删除.github/workflows/jd_818.yml文件\n如果帮助到您可以点下🌟STAR鼓励我一下,谢谢\n咱江湖再见\n https://github.com/lxk0301/scripts`)
+ $.msg($.name, '活动已结束', `该活动累计获得京豆:${$.jbeanCount}个\niOS用户请删除此脚本\ngithub action用户请删除.github/workflows/jd_818.yml文件\n如果帮助到您可以点下🌟STAR鼓励我一下,谢谢\n咱江湖再见\nhttps://github.com/lxk0301/jd_scripts`, {"open-url": "https://github.com/lxk0301/jd_scripts"});
+ if ($.isNode()) await notify.sendNotify($.name + '活动已结束', `请删除此脚本\ngithub action用户请删除.github/workflows/jd_818.yml文件\n如果帮助到您可以点下🌟STAR鼓励我一下,谢谢\n咱江湖再见\n https://github.com/lxk0301/jd_scripts`)
} else {
$.msg($.name, `京东账号${$.index} ${$.nickName || $.UserName}`, `${$.jbeanCount ? `${$.integer ? `今日获得积分:${$.integer}个\n` : ''}${$.num ? `今日排名:${$.num}\n` : ''}今日参数人数:${$.lasNum}人\n累计获得京豆:${$.jbeanCount}个🐶\n` : ''}${$.jbeanCount ? `累计获得积分:${$.integralCount}个\n` : ''}${$.jbeanNum ? `${$.date}日奖品:${$.jbeanNum}\n` : ''}具体详情点击弹窗跳转后即可查看`, {"open-url": "https://rdcseason.m.jd.com/#/hame"});
}
diff --git a/jd_bean_change.js b/jd_bean_change.js
index 021fca6e..00fa9eed 100644
--- a/jd_bean_change.js
+++ b/jd_bean_change.js
@@ -5,7 +5,7 @@
* @Last Modified time: 2020-11-03 16:25:41
*/
/*
-京豆变动通知脚本:https://raw.githubusercontent.com/lxk0301/scripts/master/jd_bean_change.js
+京豆变动通知脚本:https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_bean_change.js
统计昨日京豆的变化情况,包括收入,支出,以及显示当前京豆数量,目前小问题:下单使用京豆后,退款重新购买会出现异常
网页查看地址 : https://bean.m.jd.com/beanDetail/index.action?resourceValue=bean
支持京东双账号
@@ -13,12 +13,12 @@
quantumultx
[task_local]
#京豆变动通知
-2 9 * * * https://raw.githubusercontent.com/lxk0301/scripts/master/jd_bean_change.js, tag=京豆变动通知, enabled=true
+2 9 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_bean_change.js, tag=京豆变动通知, enabled=true
Loon
[Script]
-cron "2 9 * * *" script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_bean_change.js, tag=京豆变动通知
+cron "2 9 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_bean_change.js, tag=京豆变动通知
Surge
-京豆变动通知 = type=cron,cronexp=2 9 * * *,wake-system=1,timeout=440,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_bean_change.js
+京豆变动通知 = type=cron,cronexp=2 9 * * *,wake-system=1,timeout=440,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_bean_change.js
*/
const $ = new Env('京豆变动通知');
const notify = $.isNode() ? require('./sendNotify') : '';
diff --git a/jd_blueCoin.js b/jd_blueCoin.js
index 5d68b6ae..2d3a04c5 100644
--- a/jd_blueCoin.js
+++ b/jd_blueCoin.js
@@ -1,5 +1,5 @@
/*
-京小超兑换奖品 脚本地址:https://raw.githubusercontent.com/lxk0301/scripts/master/jd_blueCoin.js
+京小超兑换奖品 脚本地址:https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_blueCoin.js
感谢@yangtingxiao提供PR
更新时间:2020-11-05
支持京东多个账号
@@ -7,12 +7,12 @@
======================quantumultx===============
[task_local]
#京小超兑换奖品
-0 0 0 * * * https://raw.githubusercontent.com/lxk0301/scripts/master/jd_blueCoin.js, tag=京小超兑换奖品, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jxc.png, enabled=true
+0 0 0 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_blueCoin.js, tag=京小超兑换奖品, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jxc.png, enabled=true
====================Loon=================
[Script]
-cron "0 0 0 * * *" script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_blueCoin.js,tag=京小超兑换奖品
+cron "0 0 0 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_blueCoin.js,tag=京小超兑换奖品
===================Surge==================
-京小超兑换奖品 = type=cron,cronexp="0 0 0 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_blueCoin.js
+京小超兑换奖品 = type=cron,cronexp="0 0 0 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_blueCoin.js
*/
const $ = new Env('京小超兑换奖品');
const notify = $.isNode() ? require('./sendNotify') : '';
diff --git a/jd_club_lottery.js b/jd_club_lottery.js
index 0b76a1c8..2b9d2f8d 100644
--- a/jd_club_lottery.js
+++ b/jd_club_lottery.js
@@ -11,12 +11,12 @@
// QuantumultX
[task_local]
#摇京豆
- 5 0 * * * https://raw.githubusercontent.com/lxk0301/scripts/master/jd_club_lottery.js, tag=摇京豆, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdyjd.png, enabled=true
+ 5 0 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_club_lottery.js, tag=摇京豆, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdyjd.png, enabled=true
//Loon
[Script]
- cron "5 0 * * *" script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_club_lottery.js,tag=摇京豆
+ cron "5 0 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_club_lottery.js,tag=摇京豆
//Surge
- 摇京豆 = type=cron,cronexp="5 0 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_club_lottery.js
+ 摇京豆 = type=cron,cronexp="5 0 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_club_lottery.js
* */
const $ = new Env('摇京豆');
diff --git a/jd_collectProduceScore.js b/jd_collectProduceScore.js
index 8ee59250..a49766ff 100644
--- a/jd_collectProduceScore.js
+++ b/jd_collectProduceScore.js
@@ -3,7 +3,7 @@
仅仅是收集一下京东双十一全名营业每秒产生的金币
每小时的第20分运行一次
-20 * * * * https://raw.githubusercontent.com/lxk0301/scripts/master/jd_collectProduceScore.js
+20 * * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_collectProduceScore.js
*/
const $ = new Env('京东全民营业领金币');
//Node.js用户请在jdCookie.js处填写京东ck;
diff --git a/jd_fruit.js b/jd_fruit.js
index 0e574663..35ca1f89 100644
--- a/jd_fruit.js
+++ b/jd_fruit.js
@@ -1,5 +1,5 @@
/*
-东东水果:脚本更新地址 https://raw.githubusercontent.com/lxk0301/scripts/master/jd_fruit.js
+东东水果:脚本更新地址 https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_fruit.js
更新时间:2020-11-09
东东农场活动链接:https://h5.m.jd.com/babelDiy/Zeus/3KSjXqQabiTuD1cJ28QskrpWoBKT/index.html
已支持IOS双京东账号,Node.js支持N个京东账号
@@ -9,16 +9,16 @@
==========================Quantumultx=========================
[task_local]
#jd免费水果
-5 6-18/6 * * * https://raw.githubusercontent.com/lxk0301/scripts/master/jd_fruit.js, tag=东东农场, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdnc.png, enabled=true
+5 6-18/6 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_fruit.js, tag=东东农场, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdnc.png, enabled=true
=========================Loon=============================
[Script]
-cron "5 6-18/6 * * *" script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_fruit.js,tag=东东农场
+cron "5 6-18/6 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_fruit.js,tag=东东农场
=========================Surge============================
-东东农场 = type=cron,cronexp="5 6-18/6 * * *",wake-system=1,timeout=120,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_fruit.js
+东东农场 = type=cron,cronexp="5 6-18/6 * * *",wake-system=1,timeout=120,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_fruit.js
=========================小火箭===========================
-东东农场 = type=cron,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_fruit.js, cronexpr="5 6-18/6 * * *", timeout=200, enable=true
+东东农场 = type=cron,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_fruit.js, cronexpr="5 6-18/6 * * *", timeout=200, enable=true
jd免费水果 搬的https://github.com/liuxiaoyucc/jd-helper/blob/a6f275d9785748014fc6cca821e58427162e9336/fruit/fruit.js
*/
diff --git a/jd_joy.js b/jd_joy.js
index d8ce750e..710790f1 100644
--- a/jd_joy.js
+++ b/jd_joy.js
@@ -13,12 +13,12 @@ Combine from Zero-S1/JD_tools(https://github.com/Zero-S1/JD_tools)
// quantumultx
// [task_local]
// #京东宠汪汪
-// 15 */2 * * * https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy.js, tag=京东宠汪汪, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdcww.png, enabled=true
+// 15 */2 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy.js, tag=京东宠汪汪, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdcww.png, enabled=true
// Loon
// [Script]
-// cron "15 */2 * * *" script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy.js,tag=京东宠汪汪
+// cron "15 */2 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy.js,tag=京东宠汪汪
// Surge
-// 京东宠汪汪 = type=cron,cronexp="15 */2 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy.js
+// 京东宠汪汪 = type=cron,cronexp="15 */2 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy.js
const $ = new Env('宠汪汪');
const notify = $.isNode() ? require('./sendNotify') : '';
//Node.js用户请在jdCookie.js处填写京东ck;
diff --git a/jd_joy_feedPets.js b/jd_joy_feedPets.js
index 07182aa7..5b16114a 100644
--- a/jd_joy_feedPets.js
+++ b/jd_joy_feedPets.js
@@ -7,12 +7,12 @@
// quantumultx
// [task_local]
// #京东宠汪汪喂食
-// 15 */1 * * * https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_feedPets.js, tag=京东宠汪汪喂食, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdcww.png, enabled=true
+// 15 */1 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_feedPets.js, tag=京东宠汪汪喂食, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdcww.png, enabled=true
// Loon
// [Script]
-// cron "15 */1 * * *" script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_feedPets.js,tag=京东宠汪汪喂食
+// cron "15 */1 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_feedPets.js,tag=京东宠汪汪喂食
// Surge
-// 京东宠汪汪喂食 = type=cron,cronexp="15 */1 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_feedPets.js
+// 京东宠汪汪喂食 = type=cron,cronexp="15 */1 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_feedPets.js
const $ = new Env('宠汪汪🐕喂食');
const notify = $.isNode() ? require('./sendNotify') : '';
diff --git a/jd_joy_help.js b/jd_joy_help.js
index e6cda1a0..45392adf 100644
--- a/jd_joy_help.js
+++ b/jd_joy_help.js
@@ -1,6 +1,6 @@
/**
宠汪汪强制为别人助力(助力一个好友你自己可以获得30积分,一天上限是帮助3个好友,自己获得90积分,不管助力是否成功,对方都会成为你的好友)
-更新地址:https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_help.js
+更新地址:https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_help.js
更新时间:2020-10-20
目前提供了304位好友的friendPin供使用。脚本随机从里面获取一个,助力成功后,退出小程序重新点击进去开始助力新的好友
欢迎大家使用 https://jdjoy.jd.com/pet/getFriends?itemsPerPage=20¤tPage=1 (currentPage=1表示第一页好友,=2表示第二页好友)
@@ -15,15 +15,15 @@
hostname = draw.jdfcloud.com
surge
[Script]
-宠汪汪强制为别人助力= type=http-request,pattern=(^https:\/\/draw\.jdfcloud\.com\/\/pet\/enterRoom\/h5\?reqSource=weapp&invitePin=.*+(&inviteSource=task_invite&shareSource=\w+&inviteTimeStamp=\d+&openId=\w+)?|^https:\/\/draw\.jdfcloud\.com\/\/pet\/helpFriend\?friendPin),requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_help.js
+宠汪汪强制为别人助力= type=http-request,pattern=(^https:\/\/draw\.jdfcloud\.com\/\/pet\/enterRoom\/h5\?reqSource=weapp&invitePin=.*+(&inviteSource=task_invite&shareSource=\w+&inviteTimeStamp=\d+&openId=\w+)?|^https:\/\/draw\.jdfcloud\.com\/\/pet\/helpFriend\?friendPin),requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_help.js
圈x
[rewrite_local]
-^https:\/\/draw\.jdfcloud\.com\/\/pet\/enterRoom\/h5\?reqSource=weapp&invitePin=.*+(&inviteSource=task_invite&shareSource=\w+&inviteTimeStamp=\d+&openId=\w+)?|^https:\/\/draw\.jdfcloud\.com\/\/pet\/helpFriend\?friendPin url script-request-header https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_help.js
+^https:\/\/draw\.jdfcloud\.com\/\/pet\/enterRoom\/h5\?reqSource=weapp&invitePin=.*+(&inviteSource=task_invite&shareSource=\w+&inviteTimeStamp=\d+&openId=\w+)?|^https:\/\/draw\.jdfcloud\.com\/\/pet\/helpFriend\?friendPin url script-request-header https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_help.js
LOON:
[Script]
-http-request ^https:\/\/draw\.jdfcloud\.com\/\/pet\/enterRoom\/h5\?reqSource=weapp&invitePin=.*+(&inviteSource=task_invite&shareSource=\w+&inviteTimeStamp=\d+&openId=\w+)?|^https:\/\/draw\.jdfcloud\.com\/\/pet\/helpFriend\?friendPin script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_help.js
+http-request ^https:\/\/draw\.jdfcloud\.com\/\/pet\/enterRoom\/h5\?reqSource=weapp&invitePin=.*+(&inviteSource=task_invite&shareSource=\w+&inviteTimeStamp=\d+&openId=\w+)?|^https:\/\/draw\.jdfcloud\.com\/\/pet\/helpFriend\?friendPin script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_help.js
, requires-body=true, timeout=10, tag=宠汪汪强制为别人助力
diff --git a/jd_joy_reward.js b/jd_joy_reward.js
index 2dd36797..e9396d41 100644
--- a/jd_joy_reward.js
+++ b/jd_joy_reward.js
@@ -11,12 +11,12 @@
// Quantumult X
[task_local]
#宠汪汪积分兑换奖品
-0 0-16/8 * * * https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_reward.js, tag=宠汪汪积分兑换奖品, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdcww.png, enabled=true
+0 0-16/8 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_reward.js, tag=宠汪汪积分兑换奖品, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdcww.png, enabled=true
// Loon
[Script]
-cron "0 0-16/8 * * *" script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_reward.js,tag=宠汪汪积分兑换奖品
+cron "0 0-16/8 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_reward.js,tag=宠汪汪积分兑换奖品
// Surge
-宠汪汪积分兑换奖品 = type=cron,cronexp="0 0-16/8 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_reward.js
+宠汪汪积分兑换奖品 = type=cron,cronexp="0 0-16/8 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_reward.js
*/
const $ = new Env('宠汪汪积分兑换奖品');
let joyRewardName = 20;//是否兑换京豆,默认开启兑换功能,其中20为兑换20京豆,500为兑换500京豆,0为不兑换京豆.数量有限先到先得
diff --git a/jd_joy_run.js b/jd_joy_run.js
index e90ae7c7..e4eec314 100644
--- a/jd_joy_run.js
+++ b/jd_joy_run.js
@@ -13,23 +13,23 @@
hostname = draw.jdfcloud.com
surge
[Script]
- 宠汪汪邀请助力与赛跑助力 = type=cron,cronexp="15 10 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_run.js
- 宠汪汪助力更新Token = type=http-response,pattern=^https:\/\/draw\.jdfcloud\.com\/\/api\/user\/addUser\?code=\w+&, requires-body=1, max-size=0, script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_run.js
- 宠汪汪助力获取Token = type=http-request,pattern=^https:\/\/draw\.jdfcloud\.com\/\/api\/user\/user\/detail\?openId=\w+&, requires-body=1, max-size=0, script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_run.js
+ 宠汪汪邀请助力与赛跑助力 = type=cron,cronexp="15 10 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_run.js
+ 宠汪汪助力更新Token = type=http-response,pattern=^https:\/\/draw\.jdfcloud\.com\/\/api\/user\/addUser\?code=\w+&, requires-body=1, max-size=0, script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_run.js
+ 宠汪汪助力获取Token = type=http-request,pattern=^https:\/\/draw\.jdfcloud\.com\/\/api\/user\/user\/detail\?openId=\w+&, requires-body=1, max-size=0, script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_run.js
圈X
[task_local]
# 宠汪汪邀请助力与赛跑助力
- 15 10 * * * https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_run.js, tag=宠汪汪邀请助力与赛跑助力, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdcww.png, enabled=true
+ 15 10 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_run.js, tag=宠汪汪邀请助力与赛跑助力, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdcww.png, enabled=true
[rewrite_local]
# 宠汪汪助力更新Token
- ^https:\/\/draw\.jdfcloud\.com\/\/api\/user\/addUser\?code=\w+& url script-response-body https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_run.js
+ ^https:\/\/draw\.jdfcloud\.com\/\/api\/user\/addUser\?code=\w+& url script-response-body https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_run.js
# 宠汪汪助力获取Token
- ^https:\/\/draw\.jdfcloud\.com\/\/api\/user\/user\/detail\?openId=\w+& url script-request-header https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_run.js
+ ^https:\/\/draw\.jdfcloud\.com\/\/api\/user\/user\/detail\?openId=\w+& url script-request-header https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_run.js
LOON:
[Script]
- cron "15 10 * * *" script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_run.js, tag=宠汪汪邀请助力与赛跑助力
- http-response ^https:\/\/draw\.jdfcloud\.com\/\/api\/user\/addUser\?code=\w+& script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_run.js, requires-body=true, timeout=10, tag=宠汪汪助力更新Token
- http-request ^https:\/\/draw\.jdfcloud\.com\/\/api\/user\/user\/detail\?openId=\w+& script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_run.js, requires-body=true, timeout=10, tag=宠汪汪助力获取Token
+ cron "15 10 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_run.js, tag=宠汪汪邀请助力与赛跑助力
+ http-response ^https:\/\/draw\.jdfcloud\.com\/\/api\/user\/addUser\?code=\w+& script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_run.js, requires-body=true, timeout=10, tag=宠汪汪助力更新Token
+ http-request ^https:\/\/draw\.jdfcloud\.com\/\/api\/user\/user\/detail\?openId=\w+& script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_run.js, requires-body=true, timeout=10, tag=宠汪汪助力获取Token
**/
const isRequest = typeof $request != "undefined"
const $ = new Env('来客有礼宠汪汪');
diff --git a/jd_joy_steal.js b/jd_joy_steal.js
index 456063bd..5f121fec 100644
--- a/jd_joy_steal.js
+++ b/jd_joy_steal.js
@@ -10,12 +10,12 @@ IOS用户支持京东双账号,NodeJs用户支持N个京东账号
// quantumultx
// [task_local]
// #宠汪汪偷好友积分与狗粮
-// 0 0,6 * * * https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_steal.js, tag=宠汪汪偷好友积分与狗粮, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdcww.png, enabled=true
+// 0 0,6 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_steal.js, tag=宠汪汪偷好友积分与狗粮, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdcww.png, enabled=true
// Loon
// [Script]
-// cron "0 0,6 * * *" script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_steal.js,tag=宠汪汪偷好友积分与狗粮
+// cron "0 0,6 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_steal.js,tag=宠汪汪偷好友积分与狗粮
// Surge
-// 宠汪汪偷好友积分与狗粮 = type=cron,cronexp="0 0,6 * * *",wake-system=1,timeout=320,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_joy_steal.js
+// 宠汪汪偷好友积分与狗粮 = type=cron,cronexp="0 0,6 * * *",wake-system=1,timeout=320,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_joy_steal.js
const $ = new Env('宠汪汪偷好友积分与狗粮');
const notify = $.isNode() ? require('./sendNotify') : '';
//Node.js用户请在jdCookie.js处填写京东ck;
diff --git a/jd_mohe.js b/jd_mohe.js
index 679eaca5..3bc8f5c2 100644
--- a/jd_mohe.js
+++ b/jd_mohe.js
@@ -8,12 +8,12 @@
// quantumultx
[task_local]
#热8超级盲盒
-1 0,1-23/3 * * * https://raw.githubusercontent.com/lxk0301/scripts/master/jd_mohe.js, tag=热8超级盲盒, enabled=true
+1 0,1-23/3 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_mohe.js, tag=热8超级盲盒, enabled=true
// Loon
[Script]
-cron "1 0,1-23/3 * * *" script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_mohe.js,tag=热8超级盲盒
+cron "1 0,1-23/3 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_mohe.js,tag=热8超级盲盒
// Surge
-热8超级盲盒 = type=cron,cronexp=1 0,1-23/3 * * *,wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_mohe.js
+热8超级盲盒 = type=cron,cronexp=1 0,1-23/3 * * *,wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_mohe.js
*/
const $ = new Env('热8超级盲盒');
//Node.js用户请在jdCookie.js处填写京东ck;
@@ -40,7 +40,7 @@ let shareId = '';
await taskList();
await getAward();//抽奖
if ($.time('yyyy-MM-dd') === '2020-08-19') {
- $.msg($.name, '活动已结束', `请禁用或删除脚本\n如果帮助到您可以点下🌟STAR鼓励我一下,谢谢\n咱江湖再见\nhttps://github.com/lxk0301/scripts\n`, {"open-url": "https://github.com/lxk0301/scripts"});
+ $.msg($.name, '活动已结束', `请禁用或删除脚本\n如果帮助到您可以点下🌟STAR鼓励我一下,谢谢\n咱江湖再见\nhttps://github.com/lxk0301/jd_scripts\n`, {"open-url": "https://github.com/lxk0301/jd_scripts"});
} else {
$.msg($.name, '', `【京东账号一】${UserName}\n任务已做完.\n 抽奖详情查看 https://blindbox.jd.com\n`, {"open-url": "https://blindbox.jd.com"});
}
diff --git a/jd_moneyTree.js b/jd_moneyTree.js
index 71501963..7af72fcb 100644
--- a/jd_moneyTree.js
+++ b/jd_moneyTree.js
@@ -1,5 +1,5 @@
/*
-京东摇钱树 :https://raw.githubusercontent.com/lxk0301/scripts/master/jd_moneyTree.js
+京东摇钱树 :https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_moneyTree.js
更新时间:2020-11-07
京东摇钱树支持京东双账号
注:如果使用Node.js, 需自行安装'crypto-js,got,http-server,tough-cookie'模块. 例: npm install crypto-js http-server tough-cookie got --save
@@ -7,12 +7,12 @@
// quantumultx
// [task_local]
// #京东摇钱树
-// 3 */2 * * * https://raw.githubusercontent.com/lxk0301/scripts/master/jd_moneyTree.js, tag=京东摇钱树, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdyqs.png, enabled=true
+// 3 */2 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_moneyTree.js, tag=京东摇钱树, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdyqs.png, enabled=true
// Loon
// [Script]
-// cron "3 */2 * * *" script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_moneyTree.js,tag=京东摇钱树
+// cron "3 */2 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_moneyTree.js,tag=京东摇钱树
// Surge
-//京东摇钱树 = type=cron,cronexp="3 */2 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_moneyTree.js
+//京东摇钱树 = type=cron,cronexp="3 */2 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_moneyTree.js
const $ = new Env('京东摇钱树');
const notify = $.isNode() ? require('./sendNotify') : '';
//Node.js用户请在jdCookie.js处填写京东ck;
diff --git a/jd_pet.js b/jd_pet.js
index f423dbdc..75d7b565 100644
--- a/jd_pet.js
+++ b/jd_pet.js
@@ -1,5 +1,5 @@
/*
-东东萌宠 更新地址: https://raw.githubusercontent.com/lxk0301/scripts/master/jd_pet.js
+东东萌宠 更新地址: https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_pet.js
更新时间:2020-11-07
已支持IOS双京东账号,Node.js支持N个京东账号
脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js
@@ -10,17 +10,17 @@
=================================Quantumultx=========================
[task_local]
#东东萌宠
-15 6-18/6 * * * https://raw.githubusercontent.com/lxk0301/scripts/master/jd_pet.js, tag=东东萌宠, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdmc.png, enabled=true
+15 6-18/6 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_pet.js, tag=东东萌宠, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdmc.png, enabled=true
=================================Loon===================================
[Script]
-cron "15 6-18/6 * * *" script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_pet.js,tag=东东萌宠
+cron "15 6-18/6 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_pet.js,tag=东东萌宠
===================================Surge================================
-东东萌宠 = type=cron,cronexp="15 6-18/6 * * *",wake-system=1,timeout=120,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_pet.js
+东东萌宠 = type=cron,cronexp="15 6-18/6 * * *",wake-system=1,timeout=120,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_pet.js
====================================小火箭=============================
-东东萌宠 = type=cron,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_pet.js, cronexpr="15 6-18/6 * * *", timeout=200, enable=true
+东东萌宠 = type=cron,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_pet.js, cronexpr="15 6-18/6 * * *", timeout=200, enable=true
*/
const $ = new Env('东东萌宠');
diff --git a/jd_petTreasureBox.js b/jd_petTreasureBox.js
index dc2e1af6..e1fdf9c4 100644
--- a/jd_petTreasureBox.js
+++ b/jd_petTreasureBox.js
@@ -9,15 +9,15 @@ hostname = jdjoy.jd.com,draw.jdfcloud.com
surge
[Script]
-聚宝盆投狗粮辅助 = type=http-response,pattern=^https:\/\/jdjoy\.jd\.com\/pet\/getPetTreasureBox|^https:\/\/draw\.jdfcloud\.com\/\/pet\/getPetTreasureBox,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_petTreasureBox.js
+聚宝盆投狗粮辅助 = type=http-response,pattern=^https:\/\/jdjoy\.jd\.com\/pet\/getPetTreasureBox|^https:\/\/draw\.jdfcloud\.com\/\/pet\/getPetTreasureBox,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_petTreasureBox.js
Qx
[rewrite_local]
-^https:\/\/jdjoy\.jd\.com\/pet\/getPetTreasureBox|^https:\/\/draw\.jdfcloud\.com\/\/pet\/getPetTreasureBox url script-response-body https://raw.githubusercontent.com/lxk0301/scripts/master/jd_petTreasureBox.js
+^https:\/\/jdjoy\.jd\.com\/pet\/getPetTreasureBox|^https:\/\/draw\.jdfcloud\.com\/\/pet\/getPetTreasureBox url script-response-body https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_petTreasureBox.js
LOON:
[Script]
-http-response ^https:\/\/jdjoy\.jd\.com\/pet\/getPetTreasureBox|^https:\/\/draw\.jdfcloud\.com\/\/pet\/getPetTreasureBox script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_petTreasureBox.js, requires-body=true, timeout=10, tag=聚宝盆投狗粮辅助
+http-response ^https:\/\/jdjoy\.jd\.com\/pet\/getPetTreasureBox|^https:\/\/draw\.jdfcloud\.com\/\/pet\/getPetTreasureBox script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_petTreasureBox.js, requires-body=true, timeout=10, tag=聚宝盆投狗粮辅助
**/
let body = $response.body
diff --git a/jd_pigPet.js b/jd_pigPet.js
index 937e1e43..59e41548 100644
--- a/jd_pigPet.js
+++ b/jd_pigPet.js
@@ -2,7 +2,7 @@
京东金融养猪猪
*/
/*
-东东萌宠 更新地址: https://raw.githubusercontent.com/lxk0301/scripts/master/jd_pet.js
+东东萌宠 更新地址: https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_pet.js
更新时间:2020-11-07
已支持IOS双京东账号,Node.js支持N个京东账号
脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js
@@ -13,17 +13,17 @@
=================================Quantumultx=========================
[task_local]
#东东萌宠
-15 6-18/6 * * * https://raw.githubusercontent.com/lxk0301/scripts/master/jd_pet.js, tag=东东萌宠, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdmc.png, enabled=true
+15 6-18/6 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_pet.js, tag=东东萌宠, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdmc.png, enabled=true
=================================Loon===================================
[Script]
-cron "15 6-18/6 * * *" script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_pet.js,tag=东东萌宠
+cron "15 6-18/6 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_pet.js,tag=东东萌宠
===================================Surge================================
-东东萌宠 = type=cron,cronexp="15 6-18/6 * * *",wake-system=1,timeout=120,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_pet.js
+东东萌宠 = type=cron,cronexp="15 6-18/6 * * *",wake-system=1,timeout=120,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_pet.js
====================================小火箭=============================
-东东萌宠 = type=cron,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_pet.js, cronexpr="15 6-18/6 * * *", timeout=200, enable=true
+东东萌宠 = type=cron,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_pet.js, cronexpr="15 6-18/6 * * *", timeout=200, enable=true
*/
const $ = new Env('金融养猪');
diff --git a/jd_plantBean.js b/jd_plantBean.js
index 5da52faa..ce1b2518 100644
--- a/jd_plantBean.js
+++ b/jd_plantBean.js
@@ -1,5 +1,5 @@
/*
-种豆得豆 脚本更新地址:https://raw.githubusercontent.com/lxk0301/scripts/master/jd_plantBean.js
+种豆得豆 脚本更新地址:https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_plantBean.js
更新时间:2020-11-04
已支持IOS京东双账号,云端N个京东账号
脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js
@@ -8,17 +8,17 @@
每个京东账号每天只能帮助3个人。多出的助力码将会助力失败。
=====================================Quantumult X=================================
[task_local]
-1 7-21/2 * * * https://raw.githubusercontent.com/lxk0301/scripts/master/jd_plantBean.js, tag=种豆得豆, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdzd.png, enabled=true
+1 7-21/2 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_plantBean.js, tag=种豆得豆, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdzd.png, enabled=true
=====================================Loon================================
[Script]
-cron "1 7-21/2 * * *" script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_plantBean.js,tag=京东种豆得豆
+cron "1 7-21/2 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_plantBean.js,tag=京东种豆得豆
======================================Surge==========================
-京东种豆得豆 = type=cron,cronexp="1 7-21/2 * * *",wake-system=1,timeout=120,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_plantBean.js
+京东种豆得豆 = type=cron,cronexp="1 7-21/2 * * *",wake-system=1,timeout=120,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_plantBean.js
====================================小火箭=============================
-京东种豆得豆 = type=cron,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_plantBean.js, cronexpr="1 7-21/2 * * *", timeout=200, enable=true
+京东种豆得豆 = type=cron,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_plantBean.js, cronexpr="1 7-21/2 * * *", timeout=200, enable=true
搬的https://github.com/uniqueque/QuantumultX/blob/4c1572d93d4d4f883f483f907120a75d925a693e/Script/jd_plantBean.js
*/
diff --git a/jd_redPacket.js b/jd_redPacket.js
index d8289378..c2a635f1 100644
--- a/jd_redPacket.js
+++ b/jd_redPacket.js
@@ -18,12 +18,12 @@
QuantumultX
[task_local]
#京东全民开红包
-1 1 * * * https://raw.githubusercontent.com/lxk0301/scripts/master/jd_redPacket.js, tag=京东全民开红包, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_redPacket.png, enabled=true
+1 1 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_redPacket.js, tag=京东全民开红包, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_redPacket.png, enabled=true
Loon
[Script]
-cron "1 1 * * *" script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_redPacket.js, tag=京东全民开红包
+cron "1 1 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_redPacket.js, tag=京东全民开红包
Surge
-京东全民开红包 = type=cron,cronexp=1 1 * * *,wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_redPacket.js
+京东全民开红包 = type=cron,cronexp=1 1 * * *,wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_redPacket.js
*/
const $ = new Env('京东全民开红包');
const notify = $.isNode() ? require('./sendNotify') : '';
diff --git a/jd_shop.js b/jd_shop.js
index 3e0995e4..2098de74 100644
--- a/jd_shop.js
+++ b/jd_shop.js
@@ -6,12 +6,12 @@
// quantumultx
[task_local]
#进店领豆
- 10 0 * * * https://raw.githubusercontent.com/lxk0301/scripts/master/jd_shop.js, tag=进店领豆, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_shop.png, enabled=true
+ 10 0 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_shop.js, tag=进店领豆, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jd_shop.png, enabled=true
//Loon
[Script]
- cron "10 0 * * *" script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_shop.js,tag=进店领豆
+ cron "10 0 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_shop.js,tag=进店领豆
//Surge
- 进店领豆 = type=cron,cronexp="10 0 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_shop.js
+ 进店领豆 = type=cron,cronexp="10 0 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_shop.js
* */
const $ = new Env('进店领豆');
const notify = $.isNode() ? require('./sendNotify') : '';
diff --git a/jd_speed.js b/jd_speed.js
index 91e1d90e..fcef5cf8 100644
--- a/jd_speed.js
+++ b/jd_speed.js
@@ -1,5 +1,5 @@
/*
-京东天天加速链接:https://raw.githubusercontent.com/lxk0301/scripts/master/jd_speed.js
+京东天天加速链接:https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_speed.js
更新时间:2020-11-03
支持京东双账号
脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js
@@ -11,12 +11,12 @@
// quantumultx
// [task_local]
// #天天加速
-// 8 */3 * * * https://raw.githubusercontent.com/lxk0301/scripts/master/jd_speed.js, tag=京东天天加速, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdjs.png, enabled=true
+// 8 */3 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_speed.js, tag=京东天天加速, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdjs.png, enabled=true
// Loon
// [Script]
-// cron "8 */3 * * *" script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_speed.js,tag=京东天天加速
+// cron "8 */3 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_speed.js,tag=京东天天加速
// Surge
-//天天加速 = type=cron,cronexp="8 */3 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_speed.js
+//天天加速 = type=cron,cronexp="8 */3 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_speed.js
const $ = new Env('✈️天天加速');
const notify = $.isNode() ? require('./sendNotify') : '';
//Node.js用户请在jdCookie.js处填写京东ck;
diff --git a/jd_unsubscribe.js b/jd_unsubscribe.js
index 6aeac909..88580a98 100644
--- a/jd_unsubscribe.js
+++ b/jd_unsubscribe.js
@@ -9,12 +9,12 @@
// Quantumult X
[task_local]
#取关京东店铺商品
-55 23 * * * https://raw.githubusercontent.com/lxk0301/scripts/master/jd_unsubscribe.js, tag=取关京东店铺商品, enabled=true
+55 23 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_unsubscribe.js, tag=取关京东店铺商品, enabled=true
// Loon
[Script]
-cron "55 23 * * *" script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_unsubscribe.js,tag=取关京东店铺商品
+cron "55 23 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_unsubscribe.js,tag=取关京东店铺商品
// Surge
-取关京东店铺商品 = type=cron,cronexp="55 23 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_unsubscribe.js
+取关京东店铺商品 = type=cron,cronexp="55 23 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_unsubscribe.js
*/
const $ = new Env('取关京东店铺和商品');
//Node.js用户请在jdCookie.js处填写京东ck;
diff --git a/jd_xtg.js b/jd_xtg.js
index f835d34b..77449ad9 100644
--- a/jd_xtg.js
+++ b/jd_xtg.js
@@ -5,7 +5,7 @@
* @Last Modified time: 2020-11-05 00:35:04
*/
/**
- 星推官脚本 https://raw.githubusercontent.com/lxk0301/scripts/master/jd_xtg.js
+ 星推官脚本 https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_xtg.js
星推官活动地址:https://prodev.m.jd.com/mall/active/3gSzKSnvrrhYushciUpzHcDnkYE3/index.html
活动时间:2020年10月21日 00:00:00-2020年11月12日 23:59:59
京豆先到先得!!!!!!!!!!!
@@ -17,12 +17,12 @@
// quantumultx
[task_local]
#京东星推官
- 2 0 * * * https://raw.githubusercontent.com/lxk0301/scripts/master/jd_xtg.js, tag=京东星推官, enabled=true
+ 2 0 * * * https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_xtg.js, tag=京东星推官, enabled=true
// Loon
[Script]
- cron "2 0 * * *" script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_xtg.js,tag=京东星推官
+ cron "2 0 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_xtg.js,tag=京东星推官
// Surge
- 京东星推官 = type=cron,cronexp=2 0 * * *,wake-system=1,timeout=320,script-path=https://raw.githubusercontent.com/lxk0301/scripts/master/jd_xtg.js
+ 京东星推官 = type=cron,cronexp=2 0 * * *,wake-system=1,timeout=320,script-path=https://raw.githubusercontent.com/lxk0301/jd_scripts/master/jd_xtg.js
*/
const $ = new Env('京东星推官');
const activeEndTime = '2020/11/12 23:59:59';//活动结束时间
@@ -153,8 +153,8 @@ async function showMsg() {
nowTime += 28800000;//UTC-0时区加上8个小时
}
if (nowTime > new Date(activeEndTime).getTime()) {
- $.msg($.name, '活动已结束', `请删除或禁用此脚本\n如果帮助到您可以点下🌟STAR鼓励我一下,谢谢\n咱江湖再见\nhttps://github.com/lxk0301/scripts`, {"open-url": "https://github.com/lxk0301/scripts"});
- if ($.isNode()) await notify.sendNotify($.name + '活动已结束', `请删除此脚本\n如果帮助到您可以点下🌟STAR鼓励我一下,谢谢\n咱江湖再见\nhttps://github.com/lxk0301/scripts`)
+ $.msg($.name, '活动已结束', `请删除或禁用此脚本\n如果帮助到您可以点下🌟STAR鼓励我一下,谢谢\n咱江湖再见\nhttps://github.com/lxk0301/jd_scripts`, {"open-url": "https://github.com/lxk0301/jd_scripts"});
+ if ($.isNode()) await notify.sendNotify($.name + '活动已结束', `请删除此脚本\n如果帮助到您可以点下🌟STAR鼓励我一下,谢谢\n咱江湖再见\nhttps://github.com/lxk0301/jd_scripts`)
} else {
$.msg($.name, `账号${$.index} ${$.nickName || $.UserName}`, `做任务之前京豆总计:${$.beanCount}\n做完任务后京豆总计:${$.jdNum}\n${($.jdNum - $.beanCount) > 0 ? `获得京豆:${$.jdNum - $.beanCount}京豆 🐶(仅供参考)\n` : ''}京豆先到先得\n活动地址点击弹窗跳转后即可查看\n注:如未获得京豆就是已被分完`, {"open-url": "https://prodev.m.jd.com/mall/active/3gSzKSnvrrhYushciUpzHcDnkYE3/index.html"})
if ($.isNode()) await notify.sendNotify(`${$.name} - 账号${$.index} - ${$.nickName || $.UserName}`, `账号${$.index} ${$.nickName || $.UserName}\n做任务之前京豆总计:${$.beanCount}\n做完任务后京豆总计:${$.jdNum}\n${($.jdNum - $.beanCount) > 0 ? `获得京豆:${$.jdNum - $.beanCount}京豆 🐶(仅供参考)\n` : ''}京豆先到先得\n注:如未获得京豆就是已被分完\n活动地址:https://prodev.m.jd.com/mall/active/3gSzKSnvrrhYushciUpzHcDnkYE3/index.html`)
diff --git a/sendNotify.js b/sendNotify.js
index 0ade9151..cea4b440 100644
--- a/sendNotify.js
+++ b/sendNotify.js
@@ -1,5 +1,4 @@
const querystring = require("querystring");
-const tunnel = require("tunnel");
const $ = new Env();
// =======================================微信server酱通知设置区域===========================================
//此处填你申请的SCKEY.
@@ -165,6 +164,7 @@ function tgBotNotify(text, desp) {
}
}
if (process.env.TG_PROXY_HOST && process.env.TG_PROXY_PORT) {
+ const tunnel = require("tunnel");
const agent = {
https: tunnel.httpsOverHttp({
proxy: {